8206457: Code paths from oop_iterate() must use barrier-free access

Reviewed-by: eosterlund, shade
This commit is contained in:
Roman Kennke 2018-07-06 16:04:19 +02:00
parent 0d902d2b56
commit 9ec15cedd0
9 changed files with 48 additions and 9 deletions

View file

@ -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); }