mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8266573: Make sure blackholes are tagged for all JVMCI paths
Reviewed-by: never
This commit is contained in:
parent
2dcbedf92a
commit
a90b33a955
1 changed files with 2 additions and 1 deletions
|
@ -988,11 +988,12 @@ JVMCIObject JVMCIEnv::get_jvmci_method(const methodHandle& method, JVMCI_TRAPS)
|
|||
return method_object;
|
||||
}
|
||||
|
||||
CompilerOracle::tag_blackhole_if_possible(method);
|
||||
|
||||
JavaThread* THREAD = JVMCI::compilation_tick(JavaThread::current());
|
||||
jmetadata handle = _runtime->allocate_handle(method);
|
||||
jboolean exception = false;
|
||||
if (is_hotspot()) {
|
||||
CompilerOracle::tag_blackhole_if_possible(method);
|
||||
JavaValue result(T_OBJECT);
|
||||
JavaCallArguments args;
|
||||
args.push_long((jlong) handle);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue