mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8292713: Unsafe.allocateInstance should be intrinsified without UseUnalignedAccesses
Reviewed-by: psandoz, kvn, fyang
This commit is contained in:
parent
a45a4b9465
commit
c0623972cf
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue