[jdk8u-dev] RFR: 8339882: Replace ThreadLocalStorage::thread with Thread::current_or_null in jdk8 backport of JDK-8183925
Ben Taylor
btaylor at openjdk.org
Thu Sep 12 17:24:12 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
Checked the jtreg failures in github actions and I believe they're all unrelated to this change. I also see identical failures on at least one other open PR.
-------------
PR Comment: https://git.openjdk.org/jdk8u-dev/pull/576#issuecomment-2346846432
More information about the jdk8u-dev
mailing list