--- a/hotspot/src/share/vm/runtime/sharedRuntime.hpp Thu Dec 05 19:19:09 2013 +0100
+++ b/hotspot/src/share/vm/runtime/sharedRuntime.hpp Thu Dec 05 15:13:12 2013 -0800
@@ -56,6 +56,7 @@
// Shared stub locations
static RuntimeStub* _wrong_method_blob;
+ static RuntimeStub* _wrong_method_abstract_blob;
static RuntimeStub* _ic_miss_blob;
static RuntimeStub* _resolve_opt_virtual_call_blob;
static RuntimeStub* _resolve_virtual_call_blob;
@@ -206,6 +207,11 @@
return _wrong_method_blob->entry_point();
}
+ static address get_handle_wrong_method_abstract_stub() {
+ assert(_wrong_method_abstract_blob!= NULL, "oops");
+ return _wrong_method_abstract_blob->entry_point();
+ }
+
#ifdef COMPILER2
static void generate_uncommon_trap_blob(void);
static UncommonTrapBlob* uncommon_trap_blob() { return _uncommon_trap_blob; }
@@ -499,6 +505,7 @@
// handle ic miss with caller being compiled code
// wrong method handling (inline cache misses, zombie methods)
static address handle_wrong_method(JavaThread* thread);
+ static address handle_wrong_method_abstract(JavaThread* thread);
static address handle_wrong_method_ic_miss(JavaThread* thread);
#ifndef PRODUCT