mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
7178145: Change constMethodOop::_exception_table to optionally inlined u2 table
Change constMethodOop::_exception_table to optionally inlined u2 table. Reviewed-by: bdelsart, coleenp, kamg
This commit is contained in:
parent
97cc5e6c44
commit
56df3bd48d
28 changed files with 568 additions and 317 deletions
|
@ -379,7 +379,6 @@ static inline uint64_t cast_uint64_t(size_t x)
|
|||
volatile_nonstatic_field(constMethodOopDesc, _fingerprint, uint64_t) \
|
||||
nonstatic_field(constMethodOopDesc, _constants, constantPoolOop) \
|
||||
nonstatic_field(constMethodOopDesc, _stackmap_data, typeArrayOop) \
|
||||
nonstatic_field(constMethodOopDesc, _exception_table, typeArrayOop) \
|
||||
nonstatic_field(constMethodOopDesc, _constMethod_size, int) \
|
||||
nonstatic_field(constMethodOopDesc, _interpreter_kind, jbyte) \
|
||||
nonstatic_field(constMethodOopDesc, _flags, jbyte) \
|
||||
|
@ -416,6 +415,10 @@ static inline uint64_t cast_uint64_t(size_t x)
|
|||
nonstatic_field(LocalVariableTableElement, descriptor_cp_index, u2) \
|
||||
nonstatic_field(LocalVariableTableElement, signature_cp_index, u2) \
|
||||
nonstatic_field(LocalVariableTableElement, slot, u2) \
|
||||
nonstatic_field(ExceptionTableElement, start_pc, u2) \
|
||||
nonstatic_field(ExceptionTableElement, end_pc, u2) \
|
||||
nonstatic_field(ExceptionTableElement, handler_pc, u2) \
|
||||
nonstatic_field(ExceptionTableElement, catch_type_index, u2) \
|
||||
nonstatic_field(BreakpointInfo, _orig_bytecode, Bytecodes::Code) \
|
||||
nonstatic_field(BreakpointInfo, _bci, int) \
|
||||
nonstatic_field(BreakpointInfo, _name_index, u2) \
|
||||
|
@ -1451,6 +1454,7 @@ static inline uint64_t cast_uint64_t(size_t x)
|
|||
\
|
||||
declare_toplevel_type(CheckedExceptionElement) \
|
||||
declare_toplevel_type(LocalVariableTableElement) \
|
||||
declare_toplevel_type(ExceptionTableElement) \
|
||||
\
|
||||
/******************************************/ \
|
||||
/* Generation and space hierarchies */ \
|
||||
|
@ -2334,6 +2338,7 @@ static inline uint64_t cast_uint64_t(size_t x)
|
|||
declare_constant(constMethodOopDesc::_has_linenumber_table) \
|
||||
declare_constant(constMethodOopDesc::_has_checked_exceptions) \
|
||||
declare_constant(constMethodOopDesc::_has_localvariable_table) \
|
||||
declare_constant(constMethodOopDesc::_has_exception_table) \
|
||||
\
|
||||
/*************************************/ \
|
||||
/* instanceKlass enum */ \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue