mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
8206457: Code paths from oop_iterate() must use barrier-free access
Reviewed-by: eosterlund, shade
This commit is contained in:
parent
0d902d2b56
commit
9ec15cedd0
9 changed files with 48 additions and 9 deletions
|
@ -163,6 +163,7 @@ class oopDesc {
|
|||
void obj_field_put_volatile(int offset, oop value);
|
||||
|
||||
Metadata* metadata_field(int offset) const;
|
||||
Metadata* metadata_field_raw(int offset) const;
|
||||
void metadata_field_put(int offset, Metadata* value);
|
||||
|
||||
Metadata* metadata_field_acquire(int offset) const;
|
||||
|
@ -178,6 +179,7 @@ class oopDesc {
|
|||
void bool_field_put(int offset, jboolean contents);
|
||||
|
||||
jint int_field(int offset) const;
|
||||
jint int_field_raw(int offset) const;
|
||||
void int_field_put(int offset, jint contents);
|
||||
|
||||
jshort short_field(int offset) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue