mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
6696264: assert("narrow oop can never be zero") for GCBasher & ParNewGC
Decouple set_klass() with zeroing the gap when compressed. Reviewed-by: kvn, ysr, jrose
This commit is contained in:
parent
1f9e095ee3
commit
646ceb4a45
12 changed files with 67 additions and 20 deletions
|
@ -77,10 +77,15 @@ class oopDesc {
|
|||
void init_mark();
|
||||
|
||||
klassOop klass() const;
|
||||
klassOop klass_or_null() const volatile;
|
||||
oop* klass_addr();
|
||||
narrowOop* compressed_klass_addr();
|
||||
|
||||
void set_klass(klassOop k);
|
||||
|
||||
// For klass field compression
|
||||
int klass_gap() const;
|
||||
void set_klass_gap(int z);
|
||||
// For when the klass pointer is being used as a linked list "next" field.
|
||||
void set_klass_to_list_ptr(oop k);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue