Integrated: 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).

This pull request has now been integrated.

Changeset: fd89b334
Author:    Doug Simon <dnsimon at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/fd89b334c446dcf8883cf4c46ba75b7bc48b99bb
Stats:     13 lines in 1 file changed: 0 ins; 9 del; 4 mod

8316992: Potential null pointer from get_current_thread JVMCI helper function.

Reviewed-by: thartmann

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

PR: https://git.openjdk.org/jdk/pull/17676


More information about the hotspot-compiler-dev mailing list