On Fri, 11 Mar 2022 09:50:22 GMT, Johannes Bechberger <d...@openjdk.java.net> wrote:
> According to > https://forums.swift.org/t/concurrencys-use-of-thread-local-variables/48654: > "these accesses are just a move from a system register plus a load/store at a > constant offset." Ideally you'd still benchmark that. Some AArch64 implementations have really, really slow moves from the system register used as the thread pointer. Hopefully Apple's implementation isn't in that category. ------------- PR: https://git.openjdk.java.net/jdk/pull/7727