comparison src/share/vm/runtime/simpleThresholdPolicy.cpp @ 14309:63a4eb8bcd23

8025856: Fix typos in the GC code Summary: Fix about 440 typos in comments in the VM code Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
author jwilhelm
date Thu, 23 Jan 2014 14:47:23 +0100
parents 487d442ef257
children 4ca6dc0799b6
comparison
equal deleted inserted replaced
14308:870aedf4ba4f 14309:63a4eb8bcd23
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