8012157: removed unused code in SharedRuntime::handle_wrong_method
Reviewed-by: kvn, roland, rbackman
Contributed-by: albert.noll@oracle.com
--- a/hotspot/src/share/vm/runtime/sharedRuntime.cpp Tue Apr 23 13:48:02 2013 +0200
+++ b/hotspot/src/share/vm/runtime/sharedRuntime.cpp Tue Apr 23 18:06:54 2013 +0200
@@ -1316,12 +1316,6 @@
assert(stub_frame.is_runtime_frame(), "sanity check");
frame caller_frame = stub_frame.sender(®_map);
- // MethodHandle invokes don't have a CompiledIC and should always
- // simply redispatch to the callee_target.
- address sender_pc = caller_frame.pc();
- CodeBlob* sender_cb = caller_frame.cb();
- nmethod* sender_nm = sender_cb->as_nmethod_or_null();
-
if (caller_frame.is_interpreted_frame() ||
caller_frame.is_entry_frame()) {
Method* callee = thread->callee_target();