hotspot/src/share/vm/interpreter/interpreterRuntime.cpp
changeset 46727 6e4a84748e2c
parent 46691 cecf240c87a0
child 46968 9119841280f4
--- 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) {