RFR: JDK-8204970: Remaing object comparisons need to use oopDesc::equals()
Kim Barrett
kim.barrett at oracle.com
Sat Jul 7 03:18:02 UTC 2018
> On Jul 6, 2018, at 11:28 AM, Roman Kennke <rkennke at redhat.com> wrote:
>
> We found 2 more places where oopDesc::equals() should be used instead of
> raw obj==obj.
>
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8204970
> Webrev:
> http://cr.openjdk.java.net/~rkennke/JDK-8204970/webrev.00/
>
> Passes tier1 tests
>
> Can I get a review?
>
> Thanks,
> Roman
This looks good.
How close are we to being able to remove operator== and operator!= from the oop class that
is defined when CHECK_UNHANDLED_OOPS is defined? I suspect the main problem is
checks for NULL?
More information about the hotspot-gc-dev
mailing list