RFR: 8253033: CheckUnhandledOops check fails in ThreadSnapshot::initialize… [v2]

David Holmes dholmes at openjdk.java.net
Fri Sep 11 03:34:34 UTC 2020


On Fri, 11 Sep 2020 02:53:51 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

>> It is not loom-specific and reproduced n jdk/jdk with -XX:+CheckUnhandledOops.
>
> What do you think about moving
>     Handle obj = ThreadService::get_current_contended_monitor(thread);
> out of scope of block_object oop visibility?
> It is my second patch.

I'm missing something. How can a NULL oop get corrupted even if there is a GC?

-------------

PR: https://git.openjdk.java.net/jdk/pull/123


More information about the hotspot-runtime-dev mailing list