hotspot/src/share/vm/compiler/compileBroker.cpp
changeset 34165 66826441022f
parent 33478 e119795bddb7
child 34185 ee71c590a456
--- a/hotspot/src/share/vm/compiler/compileBroker.cpp	Mon Nov 09 11:28:31 2015 +0100
+++ b/hotspot/src/share/vm/compiler/compileBroker.cpp	Tue Nov 10 10:34:39 2015 -1000
@@ -1716,7 +1716,8 @@
     EventCompilation event;
 
     JVMCIEnv env(task, system_dictionary_modification_counter);
-    jvmci->compile_method(target_handle, osr_bci, &env);
+    methodHandle method(thread, target_handle);
+    jvmci->compile_method(method, osr_bci, &env);
 
     post_compile(thread, task, event, task->code() != NULL, NULL);
   } else