RFR: 8275049: [ZGC] missing null check in ZNMethod::log_register

Erik Österlund eosterlund at openjdk.java.net
Tue Oct 12 14:20:51 UTC 2021


On Mon, 11 Oct 2021 12:23:03 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> The VM crashes while trying to read (*p)->klass() in "ZNMethod::log_register" on PPC64. We need a null check. See JBS for details.

I think we could just Atomic::load(p) for now to deal with the null check, and then see if we want to deal with the other race condition another day.

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

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



More information about the hotspot-gc-dev mailing list