mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8161274: [JVMCI] compiler/jvmci/events/JvmciNotifyInstallEventTest.java fails with NoClassDefFound
Reviewed-by: kvn, twisti
This commit is contained in:
parent
368df4fd8d
commit
913ccd67d4
5 changed files with 27 additions and 14 deletions
|
@ -1068,6 +1068,12 @@ nmethod* CompileBroker::compile_method(const methodHandle& method, int osr_bci,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
#if INCLUDE_JVMCI
|
||||
if (comp->is_jvmci() && !JVMCIRuntime::can_initialize_JVMCI()) {
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (osr_bci == InvocationEntryBci) {
|
||||
// standard compilation
|
||||
CompiledMethod* method_code = method->code();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue