comparison src/share/vm/compiler/compileBroker.cpp @ 22730:24fd08e99b35

Backport Handle fixes from jvmci-9.
author Roland Schatz <roland.schatz@oracle.com>
date Wed, 11 Nov 2015 10:33:08 +0100
parents 44bc739eae23
children 9d78d44d3aac
comparison
equal deleted inserted replaced
22729:e00426c54952 22730:24fd08e99b35
2137 2137
2138 TraceTime t1("compilation", &time); 2138 TraceTime t1("compilation", &time);
2139 EventCompilation event; 2139 EventCompilation event;
2140 2140
2141 JVMCIEnv env(task, system_dictionary_modification_counter); 2141 JVMCIEnv env(task, system_dictionary_modification_counter);
2142 jvmci->compile_method(target_handle, osr_bci, &env); 2142 methodHandle method(thread, target_handle);
2143 jvmci->compile_method(method, osr_bci, &env);
2143 2144
2144 post_compile(thread, task, event, task->code() != NULL, NULL); 2145 post_compile(thread, task, event, task->code() != NULL, NULL);
2145 } else 2146 } else
2146 #endif // COMPILERJVMCI 2147 #endif // COMPILERJVMCI
2147 { 2148 {