8211279: Verify missing object equals barriers

Reviewed-by: pliden, shade, zgu
This commit is contained in:
Roman Kennke 2018-10-03 15:22:16 +02:00
parent a9f9385ced
commit 3085a89f13
12 changed files with 33 additions and 15 deletions

View file

@ -153,6 +153,8 @@ class oopDesc {
inline static bool equals(oop o1, oop o2) { return Access<>::equals(o1, o2); }
inline static bool equals_raw(oop o1, oop o2) { return RawAccess<>::equals(o1, o2); }
// Access to fields in a instanceOop through these methods.
template <DecoratorSet decorator>
oop obj_field_access(int offset) const;