src/share/vm/runtime/compilationPolicy.cpp

changeset 2988
2c359f27615c
parent 2695
e2eb7f986c64
child 3452
20334ed5ed3c
equal deleted inserted replaced
2987:6f6e91603a45 2988:2c359f27615c
304 else 304 else
305 target = (uint)( (ProfileMaturityPercentage * CompileThreshold) / 100 ); 305 target = (uint)( (ProfileMaturityPercentage * CompileThreshold) / 100 );
306 return (current >= initial + target); 306 return (current >= initial + target);
307 } 307 }
308 308
309 nmethod* NonTieredCompPolicy::event(methodHandle method, methodHandle inlinee, int branch_bci, int bci, CompLevel comp_level, TRAPS) { 309 nmethod* NonTieredCompPolicy::event(methodHandle method, methodHandle inlinee, int branch_bci, int bci, CompLevel comp_level, nmethod* nm, TRAPS) {
310 assert(comp_level == CompLevel_none, "This should be only called from the interpreter"); 310 assert(comp_level == CompLevel_none, "This should be only called from the interpreter");
311 NOT_PRODUCT(trace_frequency_counter_overflow(method, branch_bci, bci)); 311 NOT_PRODUCT(trace_frequency_counter_overflow(method, branch_bci, bci));
312 if (JvmtiExport::can_post_interpreter_events()) { 312 if (JvmtiExport::can_post_interpreter_events()) {
313 assert(THREAD->is_Java_thread(), "Wrong type of thread"); 313 assert(THREAD->is_Java_thread(), "Wrong type of thread");
314 if (((JavaThread*)THREAD)->is_interp_only_mode()) { 314 if (((JavaThread*)THREAD)->is_interp_only_mode()) {

mercurial