[jdk11u-dev] Integrated: 8248666: AArch64: Use THREAD_LOCAL instead of __thread

Reka Kovacs github.com+25946952+rnkovacs at openjdk.java.net
Fri Aug 27 18:24:34 UTC 2021


On Fri, 20 Aug 2021 06:28:24 GMT, Reka Kovacs <github.com+25946952+rnkovacs at openjdk.org> wrote:

> Not a clean backport. Original patch used a macro called THREAD_LOCAL, this backport uses THREAD_LOCAL_DECL. THREAD_LOCAL_DECL was renamed to THREAD_LOCAL by [JDK-8230877](https://bugs.openjdk.java.net/browse/JDK-8230877) in JDK 14. Testing: tier1.
> 
> This is part of the Windows/AArch64 port.

This pull request has now been integrated.

Changeset: 97192705
Author:    Reka Kovacs <rekakovacs at microsoft.com>
Committer: Christoph Langer <clanger at openjdk.org>
URL:       https://git.openjdk.java.net/jdk11u-dev/commit/97192705f2aa49e04e5bc1cf64936fb005466e30
Stats:     4 lines in 1 file changed: 0 ins; 0 del; 4 mod

8248666: AArch64: Use THREAD_LOCAL instead of __thread

__thread is gcc-ism, instead rely on compiler independent macro.

Co-authored-by: Bernhard Urban-Forster <burban at openjdk.org>
Reviewed-by: phh, clanger
Backport-of: 2f8653fbf0f4ed2ab0e40b2bb541ef2eff913469

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

PR: https://git.openjdk.java.net/jdk11u-dev/pull/262


More information about the jdk-updates-dev mailing list