< prev index next >
src/hotspot/share/oops/oop.hpp
Print this page
rev 51949 : 8211279: Verify missing object equals barriers
*** 152,161 ****
--- 152,165 ----
}
}
inline static bool equals(oop o1, oop o2) { return Access<>::equals(o1, o2); }
+ inline static bool unsafe_equals(oop o1, oop o2) {
+ return (void*) o1 == (void*) o2;
+ }
+
// Access to fields in a instanceOop through these methods.
template <DecoratorSet decorator>
oop obj_field_access(int offset) const;
oop obj_field(int offset) const;
void obj_field_put(int offset, oop value);
< prev index next >