mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8256172: Clean up CDS handling of i2i_entry
Reviewed-by: minqi, ccheung
This commit is contained in:
parent
cfa92a53c0
commit
4178834deb
8 changed files with 45 additions and 61 deletions
|
@ -133,16 +133,10 @@ class AbstractInterpreter: AllStatic {
|
|||
static address entry_for_kind(MethodKind k) { assert(0 <= k && k < number_of_method_entries, "illegal kind"); return _entry_table[k]; }
|
||||
static address entry_for_method(const methodHandle& m) { return entry_for_kind(method_kind(m)); }
|
||||
|
||||
static address entry_for_cds_method(const methodHandle& m) {
|
||||
MethodKind k = method_kind(m);
|
||||
assert(0 <= k && k < number_of_method_entries, "illegal kind");
|
||||
return _cds_entry_table[k];
|
||||
}
|
||||
|
||||
// used by class data sharing
|
||||
static void update_cds_entry_table(MethodKind kind) NOT_CDS_RETURN;
|
||||
|
||||
static address get_trampoline_code_buffer(AbstractInterpreter::MethodKind kind) NOT_CDS_RETURN_(0);
|
||||
static address entry_for_cds_method(const methodHandle& m) NOT_CDS_RETURN_(NULL);
|
||||
static address entry_for_cds_method(AbstractInterpreter::MethodKind kind) NOT_CDS_RETURN_(NULL);
|
||||
static void generate_entry_for_cds_method(MethodKind kind) NOT_CDS_RETURN;
|
||||
|
||||
// used for bootstrapping method handles:
|
||||
static void set_entry_for_kind(MethodKind k, address e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue