mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
8028319: ConflictingDefaultsTest.testReabstract spins when running with -mode invoke and -Xcomp
Change _abstract_method_handler to return AbstractMethodError i2c, c2i and c2iv entries. Reviewed-by: kvn, vlivanov
This commit is contained in:
parent
13cf514dff
commit
26d3366a82
2 changed files with 24 additions and 9 deletions
|
@ -56,6 +56,7 @@ class SharedRuntime: AllStatic {
|
|||
// 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 @@ class SharedRuntime: AllStatic {
|
|||
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; }
|
||||
|
@ -481,6 +487,7 @@ class SharedRuntime: AllStatic {
|
|||
// 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue