RFR: 8366671: Refactor Thread::SpinAcquire and Thread::SpinRelease [v12]
David Holmes
dholmes at openjdk.org
Mon Dec 8 19:47:09 UTC 2025
On Mon, 8 Dec 2025 12:48:21 GMT, Anton Artemov <aartemov at openjdk.org> wrote:
>>> Because the safe version can be called very early in VM init we have to check the library-based TLS is initilalized.
>>
>> Can the ParkEvent not be called very early in VM init as well?
>
> I guess we should assume that it can be called at any time.
The ParkEvent code is of course first called during VM init when we create the initial JavaThread. Really not sure why this is being raised.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28264#discussion_r2599911405
More information about the hotspot-dev
mailing list