mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
8278568: Consolidate filler objects
Reviewed-by: tschatzl, mli, ayang
This commit is contained in:
parent
6412d57a0a
commit
abab1738a7
7 changed files with 9 additions and 66 deletions
|
@ -96,7 +96,7 @@ class oopDesc {
|
|||
static inline void set_klass_gap(HeapWord* mem, int z);
|
||||
|
||||
// size of object header, aligned to platform wordSize
|
||||
static int header_size() { return sizeof(oopDesc)/HeapWordSize; }
|
||||
static constexpr int header_size() { return sizeof(oopDesc)/HeapWordSize; }
|
||||
|
||||
// Returns whether this is an instance of k or an instance of a subclass of k
|
||||
inline bool is_a(Klass* k) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue