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