mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
6703888: Compressed Oops: use the 32-bits gap after klass in a object
Use the gap also for a narrow oop field and a boxing object value. Reviewed-by: coleenp, never
This commit is contained in:
parent
76035424de
commit
e53e767d88
13 changed files with 67 additions and 72 deletions
|
@ -180,9 +180,8 @@ class instanceKlass: public Klass {
|
|||
// End of the oop block.
|
||||
//
|
||||
|
||||
// number of words used by non-static fields in this klass (including
|
||||
// inherited fields but after header_size()). If fields are compressed into
|
||||
// header, this can be zero so it's not the same as number of static fields.
|
||||
// Number of heapOopSize words used by non-static fields in this klass
|
||||
// (including inherited fields but after header_size()).
|
||||
int _nonstatic_field_size;
|
||||
int _static_field_size; // number words used by static fields (oop and non-oop) in this klass
|
||||
int _static_oop_field_size;// number of static oop fields in this klass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue