mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8199781: Don't use naked == for comparing oops
Reviewed-by: coleenp, eosterlund, jrose
This commit is contained in:
parent
8b50176bdc
commit
b938ae51ce
36 changed files with 1484 additions and 1282 deletions
|
@ -142,6 +142,8 @@ class oopDesc {
|
|||
}
|
||||
}
|
||||
|
||||
inline static bool equals(oop o1, oop o2) { return Access<>::equals(o1, o2); }
|
||||
|
||||
// Access to fields in a instanceOop through these methods.
|
||||
template <DecoratorSet decorator>
|
||||
oop obj_field_access(int offset) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue