8232896: ZGC: Enable C2 clone intrinsic

Reviewed-by: pliden, kvn
This commit is contained in:
Nils Eliasson 2019-10-31 17:16:36 +01:00
parent 55f7c48828
commit 3ca7e3f6ff
13 changed files with 94 additions and 21 deletions

View file

@ -786,9 +786,6 @@ bool vmIntrinsics::is_disabled_by_flags(vmIntrinsics::ID id) {
#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