Lines Matching defs:comp_level

99 bool CompilationPolicy::must_be_compiled(methodHandle m, int comp_level) {
101 if (!can_be_compiled(m, comp_level)) return false;
108 bool CompilationPolicy::can_be_compiled(methodHandle m, int comp_level) {
121 if (comp_level == CompLevel_all) {
124 return !m->is_not_compilable(comp_level);
170 int NonTieredCompPolicy::compiler_count(CompLevel comp_level) {
173 if (is_c2_compile(comp_level)) {
181 if (is_c1_compile(comp_level)) {
310 int bci, CompLevel comp_level, nmethod* nm, JavaThread* thread) {
311 assert(comp_level == CompLevel_none, "This should be only called from the interpreter");
397 const int comp_level = CompLevel_highest_tier;
405 CompileBroker::compile_method(m, InvocationEntryBci, comp_level, m, hot_count, comment, thread);
411 const int comp_level = CompLevel_highest_tier;
415 if (is_compilation_enabled() && !m->is_not_osr_compilable(comp_level) && can_be_compiled(m)) {
416 CompileBroker::compile_method(m, bci, comp_level, m, hot_count, comment, thread);
417 NOT_PRODUCT(trace_osr_completion(m->lookup_osr_nmethod_for(bci, comp_level, true));)
428 const int comp_level = CompLevel_highest_tier;
460 CompileBroker::compile_method(top->top_method(), InvocationEntryBci, comp_level,
467 const int comp_level = CompLevel_highest_tier;
471 if (is_compilation_enabled() && !m->is_not_osr_compilable(comp_level) && can_be_compiled(m)) {
472 CompileBroker::compile_method(m, bci, comp_level, m, hot_count, comment, thread);
473 NOT_PRODUCT(trace_osr_completion(m->lookup_osr_nmethod_for(bci, comp_level, true));)