Integrated: 8356556: AArch64: No need for acquire fence in safepoint poll in FFM

Anton Artemov duke at openjdk.org
Tue Jun 17 13:49:36 UTC 2025


On Mon, 16 Jun 2025 13:03:11 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.

This pull request has now been integrated.

Changeset: c1deb9ee
Author:    Anton Artemov <anton.artemov at oracle.com>
Committer: Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c1deb9eebf1adecffe5b205486477009ec2f7348
Stats:     17 lines in 8 files changed: 0 ins; 5 del; 12 mod

8356556: AArch64: No need for acquire fence in safepoint poll in FFM

Reviewed-by: dholmes, pchilanomate

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

PR: https://git.openjdk.org/jdk/pull/25829


More information about the hotspot-dev mailing list