RFR: 8315890: Attempts to load from nullptr in instanceKlass.cpp and unsafe.cpp

Coleen Phillimore coleenp at openjdk.org
Fri Oct 27 18:18:33 UTC 2023


On Fri, 27 Oct 2023 15:40:58 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:

> Calls in instanceKlass.cpp and unsafe.cpp try to call an atomic load on method calls that could return nullptr. This patch ensures that nullptr is not passed into the load. Verified with tier1-5 tests.

Looks good.

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

Marked as reviewed by coleenp (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/16405#pullrequestreview-1702314539


More information about the hotspot-dev mailing list