RFR: 8360654: AArch64: Remove redundant dmb from C1 compareAndSet [v2]

Samuel Chee duke at openjdk.org
Thu Jul 17 15:36:32 UTC 2025


On Thu, 17 Jul 2025 15:10:18 GMT, Samuel Chee <duke at openjdk.org> wrote:

>> I wonder if it might be a good idea to add a `trailingDMB` boolean argument to `cmpxchg` and `atomic_##NAME` instead.
>
> Having a trailingDMB option is potentially a decent idea.  Someone would probably need to investigate where the trailingDMB option would have to be enabled; I am not familiar enough to know where exactly would be affected by this.
> So for now I'd say leave it be and that is something someone else can maybe do in a later pr.

Also have just added comment as you suggested thanks!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26000#discussion_r2213678810


More information about the hotspot-compiler-dev mailing list