RFR: 8366671: Refactor Thread::SpinAcquire and Thread::SpinRelease [v12]
Anton Artemov
aartemov at openjdk.org
Mon Dec 8 12:50:59 UTC 2025
On Mon, 8 Dec 2025 12:38:11 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> I think we don't want complication as the one that David described in this supposedly simple utility object. Let's just use the unsafe version and document when it should not be used.
>
>> 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.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28264#discussion_r2598506670
More information about the hotspot-dev
mailing list