equal
deleted
inserted
replaced
188 nmethod* SimpleThresholdPolicy::event(methodHandle method, methodHandle inlinee, |
188 nmethod* SimpleThresholdPolicy::event(methodHandle method, methodHandle inlinee, |
189 int branch_bci, int bci, CompLevel comp_level, nmethod* nm, JavaThread* thread) { |
189 int branch_bci, int bci, CompLevel comp_level, nmethod* nm, JavaThread* thread) { |
190 if (comp_level == CompLevel_none && |
190 if (comp_level == CompLevel_none && |
191 JvmtiExport::can_post_interpreter_events() && |
191 JvmtiExport::can_post_interpreter_events() && |
192 thread->is_interp_only_mode()) { |
192 thread->is_interp_only_mode()) { |
|
193 return NULL; |
|
194 } |
|
195 if (CompileTheWorld || ReplayCompiles) { |
|
196 // Don't trigger other compiles in testing mode |
193 return NULL; |
197 return NULL; |
194 } |
198 } |
195 nmethod *osr_nm = NULL; |
199 nmethod *osr_nm = NULL; |
196 |
200 |
197 handle_counter_overflow(method()); |
201 handle_counter_overflow(method()); |