RFR: 8366671: Refactor Thread::SpinAcquire and Thread::SpinRelease [v9]

Anton Artemov aartemov at openjdk.org
Wed Dec 3 14:04:29 UTC 2025


On Mon, 1 Dec 2025 13:17:48 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:

> I see. Yeah, do not think we have a construction that does exactly this right now. But we can easily extend the NSV to only call `Thread::current()` if it is not active. Something like:

Thanks, added.

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

PR Comment: https://git.openjdk.org/jdk/pull/28264#issuecomment-3607000721


More information about the hotspot-dev mailing list