Mercurial > hg > graal-jvmci-8
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.cpp Tue Nov 10 23:16:06 2015 +0100 +++ b/src/share/vm/compiler/compileBroker.cpp Wed Nov 11 10:33:08 2015 +0100 @@ -2139,7 +2139,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