RFR: 8316992: Potential null pointer from get_current_thread JVMCI helper function.

Doug Simon dnsimon at openjdk.org
Tue Feb 6 14:07:57 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).

Thanks for the review.

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

PR Comment: https://git.openjdk.org/jdk/pull/17676#issuecomment-1929743581


More information about the hotspot-compiler-dev mailing list