Lines Matching defs:mh

31 void AdvancedThresholdPolicy::print_specific(EventType type, methodHandle mh, methodHandle imh,
34 if (mh->prev_time() == 0) tty->print("n/a");
35 else tty->print("%f", mh->rate());
274 void AdvancedThresholdPolicy::create_mdo(methodHandle mh, JavaThread* THREAD) {
275 if (mh->is_native() || mh->is_abstract() || mh->is_accessor()) return;
276 if (mh->method_data() == NULL) {
277 methodOopDesc::build_interpreter_method_data(mh, CHECK_AND_CLEAR);
426 void AdvancedThresholdPolicy::submit_compile(methodHandle mh, int bci, CompLevel level, JavaThread* thread) {
427 int hot_count = (bci == InvocationEntryBci) ? mh->invocation_count() : mh->backedge_count();
428 update_rate(os::javaTimeMillis(), mh());
429 CompileBroker::compile_method(mh, bci, level, mh, hot_count, "tiered", thread);
433 void AdvancedThresholdPolicy::method_invocation_event(methodHandle mh, methodHandle imh,
435 if (should_create_mdo(mh(), level)) {
436 create_mdo(mh, thread);
438 if (is_compilation_enabled() && !CompileBroker::compilation_is_in_queue(mh, InvocationEntryBci)) {
439 CompLevel next_level = call_event(mh(), level);
441 compile(mh, InvocationEntryBci, next_level, thread);
448 void AdvancedThresholdPolicy::method_back_branch_event(methodHandle mh, methodHandle imh,
450 if (should_create_mdo(mh(), level)) {
451 create_mdo(mh, thread);
469 if (mh() != imh()) { // If there is an enclosing method
471 cur_level = comp_level(mh());
472 next_level = call_event(mh(), cur_level);
491 print_event(MAKE_NOT_ENTRANT, mh(), mh(), osr_bci, level);
496 if (!CompileBroker::compilation_is_in_queue(mh, InvocationEntryBci)) {
502 compile(mh, InvocationEntryBci, next_level, thread);