mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8142329: [JVMCI] pass Handle by value
Reviewed-by: coleenp, twisti
This commit is contained in:
parent
fa6545ccc1
commit
3d745923ca
10 changed files with 46 additions and 45 deletions
|
@ -1716,7 +1716,8 @@ void CompileBroker::invoke_compiler_on_method(CompileTask* task) {
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue