[jdk8u-dev] Integrated: 8339882: Replace ThreadLocalStorage::thread with Thread::current_or_null in jdk8 backport of JDK-8183925

Ben Taylor btaylor at openjdk.org
Tue Nov 19 18:45:17 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

This pull request has now been integrated.

Changeset: e4297a70
Author:    Ben Taylor <btaylor at openjdk.org>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/e4297a70459accd845420180f9bae19b78fe340e
Stats:     3 lines in 3 files changed: 0 ins; 0 del; 3 mod

8339882: Replace ThreadLocalStorage::thread with Thread::current_or_null in jdk8 backport of JDK-8183925

Reviewed-by: phh, andrew

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

PR: https://git.openjdk.org/jdk8u-dev/pull/576


More information about the jdk8u-dev mailing list