8292713: Unsafe.allocateInstance should be intrinsified without UseUnalignedAccesses
Reviewed-by: psandoz, kvn, fyang
This commit is contained in:
parent
a45a4b9465
commit
c0623972cf
@ -419,6 +419,7 @@ bool vmIntrinsics::disabled_by_jvm_flags(vmIntrinsics::ID id) {
|
||||
case vmIntrinsics::_compareAndExchangeReference:
|
||||
case vmIntrinsics::_compareAndExchangeReferenceAcquire:
|
||||
case vmIntrinsics::_compareAndExchangeReferenceRelease:
|
||||
case vmIntrinsics::_allocateInstance:
|
||||
if (!InlineUnsafeOps) return true;
|
||||
break;
|
||||
case vmIntrinsics::_getShortUnaligned:
|
||||
@ -429,7 +430,6 @@ bool vmIntrinsics::disabled_by_jvm_flags(vmIntrinsics::ID id) {
|
||||
case vmIntrinsics::_putCharUnaligned:
|
||||
case vmIntrinsics::_putIntUnaligned:
|
||||
case vmIntrinsics::_putLongUnaligned:
|
||||
case vmIntrinsics::_allocateInstance:
|
||||
if (!InlineUnsafeOps || !UseUnalignedAccesses) return true;
|
||||
break;
|
||||
case vmIntrinsics::_hashCode:
|
||||
|
Loading…
Reference in New Issue
Block a user