mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 00:54:38 +02:00
7118863: Move sizeof(klassOopDesc) into the *Klass::*_offset_in_bytes() functions
Moved sizeof(klassOopDesc), changed the return type to ByteSize and removed the _in_bytes suffix. Reviewed-by: never, bdelsart, coleenp, jrose
This commit is contained in:
parent
dc542c9909
commit
e057d60ca1
40 changed files with 165 additions and 213 deletions
|
@ -144,7 +144,7 @@ klassOop Klass::base_create_klass_oop(KlassHandle& klass, int size,
|
|||
}
|
||||
kl->set_secondary_supers(NULL);
|
||||
oop_store_without_check((oop*) &kl->_primary_supers[0], k);
|
||||
kl->set_super_check_offset(primary_supers_offset_in_bytes() + sizeof(oopDesc));
|
||||
kl->set_super_check_offset(in_bytes(primary_supers_offset()));
|
||||
}
|
||||
|
||||
kl->set_java_mirror(NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue