RFR: 8316992: 2 Null pointer dereference defect groups in atomic.hpp:616

Tobias Hartmann thartmann at openjdk.org
Tue Feb 6 13:49:03 UTC 2024


On Thu, 1 Feb 2024 20:49:49 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

> Refactors some JVMCI C++ code that leads a static analysis tool to think a nullptr can be passed to [`Atomic::PlatformStore<4ull>::operator()<int>`](https://github.com/openjdk/jdk/blob/b75c134facc4dbd9f171024a12994dda818c5471/src/hotspot/share/runtime/atomic.hpp#L616-L624).

Looks good and trivial.

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

Marked as reviewed by thartmann (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/17676#pullrequestreview-1865222346


More information about the hotspot-compiler-dev mailing list