8133599: Unsafe.getAndSetObject() is no longer intrinsified by c2
Summary: off by 1 error in c2 intrinsic filtering logic
Reviewed-by: dlong, kvn, shade
--- a/hotspot/src/share/vm/opto/c2compiler.cpp Sat Aug 15 02:54:18 2015 +0200
+++ b/hotspot/src/share/vm/opto/c2compiler.cpp Fri Aug 14 00:28:45 2015 +0200
@@ -161,7 +161,7 @@
vmIntrinsics::ID id = method->intrinsic_id();
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;
}