diff src/share/vm/ci/ciObject.cpp @ 3657:47edfca346ab

Fix a safepoint bug in code installer.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Thu, 17 Nov 2011 16:40:14 +0100
parents be4ca325525a
children 46f211fe010c
line wrap: on
line diff
--- a/src/share/vm/ci/ciObject.cpp	Thu Nov 17 00:52:17 2011 +0100
+++ b/src/share/vm/ci/ciObject.cpp	Thu Nov 17 16:40:14 2011 +0100
@@ -73,12 +73,7 @@
 ciObject::ciObject(Handle h) {
   ASSERT_IN_VM;
   if (ciObjectFactory::is_initialized()) {
-    if (UseGraal) {
-      _handle = JNIHandles::make_global(h);
-      _temp_global = true;
-    } else {
-      _handle = JNIHandles::make_local(h());
-    }
+    _handle = JNIHandles::make_local(h());
   } else {
     _handle = JNIHandles::make_global(h);
   }