changeset 8858:6b74f57f7c4d

8133599: Unsafe.getAndSetObject() is no longer intrinsified by c2 Summary: off by 1 error in c2 intrinsic filtering logic Reviewed-by: dlong, kvn, shade
author roland
date Fri, 14 Aug 2015 00:28:45 +0200
parents 78c4bc2839bf
children fe311de64c61 3d49f9466425
files src/share/vm/opto/c2compiler.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/opto/c2compiler.cpp	Sat Aug 15 02:54:18 2015 +0200
+++ b/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;
   }