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

Anton Artemov aartemov at openjdk.org
Mon Dec 1 10:26:13 UTC 2025


On Mon, 24 Nov 2025 01:34:31 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Anton Artemov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8366671: Addressed reviewer's comments.
>
> src/hotspot/share/utilities/spinCriticalSection.hpp line 37:
> 
>> 35: // we're concerned about native mutex_t or HotSpot Mutex:: latency.
>> 36: // The class uses low-level leaf-lock primitives to implement
>> 37: // synchronization. Not for general synchronization use.
> 
> Suggestion:
> 
> // This class uses low-level leaf-lock primitives to implement
> // synchronization and is not for general synchronization use.

Addressed in the latest commit.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28264#discussion_r2576496110


More information about the hotspot-dev mailing list