8133599: Unsafe.getAndSetObject() is no longer intrinsified by c2
Off by 1 error in c2 intrinsic filtering logic Reviewed-by: dlong, kvn, shade
This commit is contained in:
parent
0baf2f7e8a
commit
df82d96834
@ -161,7 +161,7 @@ bool C2Compiler::is_intrinsic_supported(methodHandle method, bool is_virtual) {
|
|||||||
vmIntrinsics::ID id = method->intrinsic_id();
|
vmIntrinsics::ID id = method->intrinsic_id();
|
||||||
assert(id != vmIntrinsics::_none, "must be a VM intrinsic");
|
assert(id != vmIntrinsics::_none, "must be a VM intrinsic");
|
||||||
|
|
||||||
if (id < vmIntrinsics::FIRST_ID || id >= vmIntrinsics::LAST_COMPILER_INLINE) {
|
if (id < vmIntrinsics::FIRST_ID || id > vmIntrinsics::LAST_COMPILER_INLINE) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user