[jdk8u-dev] RFR: 8339882: Replace ThreadLocalStorage::thread with Thread::current_or_null in jdk8 backport of JDK-8183925
Paul Hohensee
phh at openjdk.org
Wed Sep 11 19:41:11 UTC 2024
On Tue, 10 Sep 2024 23:55:34 GMT, Ben Taylor <btaylor at openjdk.org> wrote:
> This change replaces 3 instances of `ThreadLocalStorage::thread` with `Thread::current_or_null` to ensure that `ThreadLocalStorage::is_initialized` is checked before attempting to get the current thread.
>
> Change passes all tier1 tests locally on Linux x86_64 and Windows x86_64
Marked as reviewed by phh (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk8u-dev/pull/576#pullrequestreview-2298469069
More information about the jdk8u-dev
mailing list