< prev index next >

src/hotspot/share/gc/z/zArguments.cpp

Print this page
@@ -104,10 +104,13 @@
  
    if (VerifyBeforeGC || VerifyDuringGC || VerifyAfterGC) {
      FLAG_SET_DEFAULT(ZVerifyRoots, true);
      FLAG_SET_DEFAULT(ZVerifyObjects, true);
    }
+ 
+   // Cannot currently support stack-locking with Lilliput and ZGC.
+   FLAG_SET_DEFAULT(UseHeavyMonitors, true);
  }
  
  size_t ZArguments::heap_virtual_to_physical_ratio() {
    return ZHeapViews * ZVirtualToPhysicalRatio;
  }
< prev index next >