hotspot/src/share/vm/compiler/compileBroker.cpp
changeset 40074 135bb8aa1e18
parent 40034 4a288aaf8511
child 40655 9f644073d3a0
equal deleted inserted replaced
40073:4b4da1fb5091 40074:135bb8aa1e18
  1066   if (!comp->can_compile_method(method) ||
  1066   if (!comp->can_compile_method(method) ||
  1067       compilation_is_prohibited(method, osr_bci, comp_level, directive->ExcludeOption)) {
  1067       compilation_is_prohibited(method, osr_bci, comp_level, directive->ExcludeOption)) {
  1068     return NULL;
  1068     return NULL;
  1069   }
  1069   }
  1070 
  1070 
       
  1071 #if INCLUDE_JVMCI
       
  1072   if (comp->is_jvmci() && !JVMCIRuntime::can_initialize_JVMCI()) {
       
  1073     return NULL;
       
  1074   }
       
  1075 #endif
       
  1076 
  1071   if (osr_bci == InvocationEntryBci) {
  1077   if (osr_bci == InvocationEntryBci) {
  1072     // standard compilation
  1078     // standard compilation
  1073     CompiledMethod* method_code = method->code();
  1079     CompiledMethod* method_code = method->code();
  1074     if (method_code != NULL && method_code->is_nmethod()) {
  1080     if (method_code != NULL && method_code->is_nmethod()) {
  1075       if (compilation_is_complete(method, osr_bci, comp_level)) {
  1081       if (compilation_is_complete(method, osr_bci, comp_level)) {