mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-19 07:29:08 +00:00
8266573: Make sure blackholes are tagged for all JVMCI paths
Reviewed-by: never
This commit is contained in:
parent
2dcbedf92a
commit
a90b33a955
@ -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…
x
Reference in New Issue
Block a user