< prev index next >

src/hotspot/cpu/zero/vm_version_zero.cpp

Print this page
@@ -113,10 +113,15 @@
    if (UseVectorizedMismatchIntrinsic) {
      warning("vectorizedMismatch intrinsic is not available on this CPU.");
      FLAG_SET_DEFAULT(UseVectorizedMismatchIntrinsic, false);
    }
  
+   if ((LockingMode != LM_LEGACY) && (LockingMode != LM_MONITOR)) {
+     warning("Unsupported locking mode for this CPU.");
+     FLAG_SET_DEFAULT(LockingMode, LM_LEGACY);
+   }
+ 
    // Not implemented
    UNSUPPORTED_OPTION(CriticalJNINatives);
    UNSUPPORTED_OPTION(UseCompiler);
  #ifdef ASSERT
    UNSUPPORTED_OPTION(CountCompiledCalls);
< prev index next >