[jdk8u-dev] RFR: 8339882: Replace ThreadLocalStorage::thread with Thread::current_or_null in jdk8 backport of JDK-8183925
duke
duke at openjdk.org
Tue Nov 19 17:40:57 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
@benty-amzn
Your change (at version cb59935d4bb8ebe9342badab61f29c364f53f487) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk8u-dev/pull/576#issuecomment-2486347117
More information about the jdk8u-dev
mailing list