RFR: JDK-8212053: A few more missing object equals barriers

Roman Kennke rkennke at redhat.com
Thu Oct 11 16:53:36 UTC 2018


 Testing and code analysis have revealed a couple more places where we
need oopDesc::equals() or oopDesc::equals_raw(). Those should really be
the last ones (notwithstanding new code of course):

in compressed oops, we should use equals_raw() because it's only used to
verify that we encoded/decoded the oop correctly a few lines above. It
cannot have been changed yet. In vframe, we need the usual
oopDesc::equals(..) because we may see different copies of the same object.

Bug:
https://bugs.openjdk.java.net/browse/JDK-8212053
Webrev:
http://cr.openjdk.java.net/~rkennke/JDK-8212053/webrev.00/

Builds and runs hotspot/tier1 fine.

Ok?

Roman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20181011/06e46a85/signature.asc>


More information about the hotspot-gc-dev mailing list