--- old/src/share/vm/interpreter/invocationCounter.cpp 2017-07-27 08:50:54.067169813 -0400 +++ new/src/share/vm/interpreter/invocationCounter.cpp 2017-07-27 08:50:53.839929502 -0400 @@ -104,7 +104,7 @@ } -static address do_nothing(methodHandle method, TRAPS) { +static address do_nothing(const methodHandle& method, TRAPS) { // dummy action for inactive invocation counters MethodCounters* mcs = method->method_counters(); assert(mcs != NULL, ""); @@ -114,7 +114,7 @@ } -static address do_decay(methodHandle method, TRAPS) { +static address do_decay(const methodHandle& method, TRAPS) { // decay invocation counters so compilation gets delayed MethodCounters* mcs = method->method_counters(); assert(mcs != NULL, ""); @@ -130,7 +130,7 @@ _action[state] = action; } -address dummy_invocation_counter_overflow(methodHandle m, TRAPS) { +address dummy_invocation_counter_overflow(const methodHandle& m, TRAPS) { ShouldNotReachHere(); return NULL; }