RFR: 8356556: AArch64: No need for acquire fence in safepoint poll in FFM [v2]

duke duke at openjdk.org
Tue Jun 17 13:08:30 UTC 2025


On Tue, 17 Jun 2025 07:31:45 GMT, Anton Artemov <duke at openjdk.org> wrote:

>> Hi, please consider the following changes:
>> 
>> On AArch64, the `acquire` bool argument of the `safepoint_poll()` method is removed, as the load-acquire `ldar` instruction in the `safepoint_poll()` implementation is not needed completely. It was used for observing the disarmed value when VMThread was used to disarm the Java threads, but currently JavaThreads disarm themselves. 
>> 
>> Tested in tiers 1 - 4.
>
> Anton Artemov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8356556: Addressed reviewers' comments.

@toxaart 
Your change (at version 6120a1e3178a1480b9feabaa4166335999706e94) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/25829#issuecomment-2980315724


More information about the hotspot-dev mailing list