src/hotspot/share/classfile/vmSymbols.cpp
changeset 50525 767cdb97f103
parent 50113 caf115bb98ad
child 50860 480a96a43b62
--- a/src/hotspot/share/classfile/vmSymbols.cpp	Tue Jun 12 07:52:30 2018 -0700
+++ b/src/hotspot/share/classfile/vmSymbols.cpp	Tue Jun 12 17:40:28 2018 +0200
@@ -756,6 +756,9 @@
 #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