--- a/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp Thu Jul 27 15:36:15 2017 +0200
+++ b/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp Thu Jul 27 18:06:41 2017 -0400
@@ -232,7 +232,7 @@
// Exceptions
void InterpreterRuntime::note_trap_inner(JavaThread* thread, int reason,
- methodHandle trap_method, int trap_bci, TRAPS) {
+ const methodHandle& trap_method, int trap_bci, TRAPS) {
if (trap_method.not_null()) {
MethodData* trap_mdo = trap_method->method_data();
if (trap_mdo == NULL) {