Mercurial > hg > truffle
diff src/share/vm/interpreter/interpreterRuntime.cpp @ 1793:d257356e35f0
6939224: MethodHandle.invokeGeneric needs to perform the correct set of conversions
Reviewed-by: never
author | jrose |
---|---|
date | Mon, 13 Sep 2010 23:24:30 -0700 |
parents | d5d065957597 |
children | 87d6a4d1ecbc |
line wrap: on
line diff
--- a/src/share/vm/interpreter/interpreterRuntime.cpp Mon Sep 13 16:45:00 2010 -0700 +++ b/src/share/vm/interpreter/interpreterRuntime.cpp Mon Sep 13 23:24:30 2010 -0700 @@ -200,6 +200,7 @@ void InterpreterRuntime::note_trap(JavaThread* thread, int reason, TRAPS) { assert(ProfileTraps, "call me only if profiling"); methodHandle trap_method(thread, method(thread)); + if (trap_method.not_null()) { methodDataHandle trap_mdo(thread, trap_method->method_data()); if (trap_mdo.is_null()) {