< prev index next >

src/hotspot/share/classfile/vmSymbols.cpp

Print this page

        

@@ -754,11 +754,11 @@
     if (!InlineNIOCheckIndex) return true;
     break;
 #endif // COMPILER1
 #ifdef COMPILER2
   case vmIntrinsics::_clone:
-    if (UseLoadBarrier || !InlineObjectCopy || !InlineArrayCopy) return true;
+    if (UseZGC || !InlineObjectCopy || !InlineArrayCopy) return true;
     break;
   case vmIntrinsics::_copyOf:
   case vmIntrinsics::_copyOfRange:
     // These intrinsics use both the objectcopy and the arraycopy
     // intrinsic mechanism.
< prev index next >