equal
deleted
inserted
replaced
269 int highest_comp_level() const; |
269 int highest_comp_level() const; |
270 void set_highest_comp_level(int level); |
270 void set_highest_comp_level(int level); |
271 int highest_osr_comp_level() const; |
271 int highest_osr_comp_level() const; |
272 void set_highest_osr_comp_level(int level); |
272 void set_highest_osr_comp_level(int level); |
273 |
273 |
274 #if defined(COMPILER2) || INCLUDE_JVMCI |
274 #if COMPILER2_OR_JVMCI |
275 // Count of times method was exited via exception while interpreting |
275 // Count of times method was exited via exception while interpreting |
276 void interpreter_throwout_increment(TRAPS) { |
276 void interpreter_throwout_increment(TRAPS) { |
277 MethodCounters* mcs = get_method_counters(CHECK); |
277 MethodCounters* mcs = get_method_counters(CHECK); |
278 if (mcs != NULL) { |
278 if (mcs != NULL) { |
279 mcs->interpreter_throwout_increment(); |
279 mcs->interpreter_throwout_increment(); |
424 } else { |
424 } else { |
425 MethodCounters* mcs = method_counters(); |
425 MethodCounters* mcs = method_counters(); |
426 return (mcs == NULL) ? 0 : mcs->interpreter_invocation_count(); |
426 return (mcs == NULL) ? 0 : mcs->interpreter_invocation_count(); |
427 } |
427 } |
428 } |
428 } |
429 #if defined(COMPILER2) || INCLUDE_JVMCI |
429 #if COMPILER2_OR_JVMCI |
430 int increment_interpreter_invocation_count(TRAPS) { |
430 int increment_interpreter_invocation_count(TRAPS) { |
431 if (TieredCompilation) ShouldNotReachHere(); |
431 if (TieredCompilation) ShouldNotReachHere(); |
432 MethodCounters* mcs = get_method_counters(CHECK_0); |
432 MethodCounters* mcs = get_method_counters(CHECK_0); |
433 return (mcs == NULL) ? 0 : mcs->increment_interpreter_invocation_count(); |
433 return (mcs == NULL) ? 0 : mcs->increment_interpreter_invocation_count(); |
434 } |
434 } |