RFR(M): 8195112: x86 (32 bit): implementation for Thread-local handshakes
Andrew Haley
aph at redhat.com
Thu Jan 18 15:11:47 UTC 2018
On 18/01/18 12:37, David Holmes wrote:
> Thread::current() already uses compiler-based TLS. get_thread (on
> non-Windows x86) make a VM call to Thread::current(). If we want to get
> faster here we have to introduce compiler specific hooks directly into
> the TLS implementation (not nice to do initially or maintain).
We already have that because we have os_cpu, so there's nothing to
stop us putting a Linux/glibc special in there. As you say, we already
have a fast path for windows.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the hotspot-runtime-dev
mailing list