comparison src/share/vm/runtime/simpleThresholdPolicy.cpp @ 14318:1020b892787b

Merge
author hseigel
date Sun, 02 Feb 2014 15:31:40 -0500
parents 63a4eb8bcd23
children 4ca6dc0799b6
comparison
equal deleted inserted replaced
14317:b59507f713e0 14318:1020b892787b
385 // with a regular entry from here. 385 // with a regular entry from here.
386 void SimpleThresholdPolicy::method_back_branch_event(methodHandle mh, methodHandle imh, 386 void SimpleThresholdPolicy::method_back_branch_event(methodHandle mh, methodHandle imh,
387 int bci, CompLevel level, nmethod* nm, JavaThread* thread) { 387 int bci, CompLevel level, nmethod* nm, JavaThread* thread) {
388 // If the method is already compiling, quickly bail out. 388 // If the method is already compiling, quickly bail out.
389 if (is_compilation_enabled() && !CompileBroker::compilation_is_in_queue(mh, bci)) { 389 if (is_compilation_enabled() && !CompileBroker::compilation_is_in_queue(mh, bci)) {
390 // Use loop event as an opportinity to also check there's been 390 // Use loop event as an opportunity to also check there's been
391 // enough calls. 391 // enough calls.
392 CompLevel cur_level = comp_level(mh()); 392 CompLevel cur_level = comp_level(mh());
393 CompLevel next_level = call_event(mh(), cur_level); 393 CompLevel next_level = call_event(mh(), cur_level);
394 CompLevel next_osr_level = loop_event(mh(), level); 394 CompLevel next_osr_level = loop_event(mh(), level);
395 395