< prev index next >
src/share/vm/compiler/compileBroker.cpp
Print this page
*** 1066,1075 ****
--- 1066,1081 ----
if (!comp->can_compile_method(method) ||
compilation_is_prohibited(method, osr_bci, comp_level, directive->ExcludeOption)) {
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();
if (method_code != NULL && method_code->is_nmethod()) {
if (compilation_is_complete(method, osr_bci, comp_level)) {
< prev index next >