mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +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
|
@ -306,6 +306,7 @@ inline jshort oopDesc::short_field(int offset) const { return Hea
|
|||
inline void oopDesc::short_field_put(int offset, jshort value) { HeapAccess<>::store_at(as_oop(), offset, value); }
|
||||
|
||||
inline jint oopDesc::int_field(int offset) const { return HeapAccess<>::load_at(as_oop(), offset); }
|
||||
inline jint oopDesc::int_field_raw(int offset) const { return RawAccess<>::load_at(as_oop(), offset); }
|
||||
inline void oopDesc::int_field_put(int offset, jint value) { HeapAccess<>::store_at(as_oop(), offset, value); }
|
||||
|
||||
inline jlong oopDesc::long_field(int offset) const { return HeapAccess<>::load_at(as_oop(), offset); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue