hotspot/src/share/vm/compiler/compileBroker.cpp
changeset 46375 1b360c12efc7
parent 46329 53ccc37bda19
child 46485 f10c8f2b4651
equal deleted inserted replaced
46374:6896a3ff27a8 46375:1b360c12efc7
  1050   assert(WhiteBoxAPI || TieredCompilation || comp_level == CompLevel_highest_tier, "only CompLevel_highest_tier must be used in non-tiered");
  1050   assert(WhiteBoxAPI || TieredCompilation || comp_level == CompLevel_highest_tier, "only CompLevel_highest_tier must be used in non-tiered");
  1051   // return quickly if possible
  1051   // return quickly if possible
  1052 
  1052 
  1053   // lock, make sure that the compilation
  1053   // lock, make sure that the compilation
  1054   // isn't prohibited in a straightforward way.
  1054   // isn't prohibited in a straightforward way.
  1055   AbstractCompiler *comp = CompileBroker::compiler(comp_level);
  1055   AbstractCompiler* comp = CompileBroker::compiler(comp_level);
  1056   if (!comp->can_compile_method(method) ||
  1056   if (comp == NULL || !comp->can_compile_method(method) ||
  1057       compilation_is_prohibited(method, osr_bci, comp_level, directive->ExcludeOption)) {
  1057       compilation_is_prohibited(method, osr_bci, comp_level, directive->ExcludeOption)) {
  1058     return NULL;
  1058     return NULL;
  1059   }
  1059   }
  1060 
  1060 
  1061 #if INCLUDE_JVMCI
  1061 #if INCLUDE_JVMCI