mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
8271939
: Clean up primitive raw accessors in oopDesc
Reviewed-by: stefank, tschatzl
This commit is contained in:
parent
b84a9c7b37
commit
a86ac0d1e3
10 changed files with 13 additions and 43 deletions
|
@ -186,7 +186,6 @@ void oopDesc::address_field_put(int offset, address value) { HeapAcce
|
|||
void oopDesc::release_address_field_put(int offset, address value) { HeapAccess<MO_RELEASE>::store_at(as_oop(), offset, value); }
|
||||
|
||||
Metadata* oopDesc::metadata_field(int offset) const { return HeapAccess<>::load_at(as_oop(), offset); }
|
||||
Metadata* oopDesc::metadata_field_raw(int offset) const { return RawAccess<>::load_at(as_oop(), offset); }
|
||||
void oopDesc::metadata_field_put(int offset, Metadata* value) { HeapAccess<>::store_at(as_oop(), offset, value); }
|
||||
|
||||
Metadata* oopDesc::metadata_field_acquire(int offset) const { return HeapAccess<MO_ACQUIRE>::load_at(as_oop(), offset); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue