RFR: 8371649: ZGC: AArch64: redundant OrderAccess::fence in ZBarrierSetAssembler::patch_barrier_relocation

Evgeny Astigeevich eastigeevich at openjdk.org
Wed Nov 12 16:55:40 UTC 2025


On Tue, 11 Nov 2025 21:35:42 GMT, Evgeny Astigeevich <eastigeevich at openjdk.org> wrote:

> The instruction cache maintenance function internally handles any required barriers.
> This means we don't need any barriers before calling it.
> This PR removes a redundant OrderAccess::fence in ZBarrierSetAssembler::patch_barrier_relocation.

Hi Erik (@fisk),
Could you also please take a look, just in case the fence was intentionally put there?

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

PR Comment: https://git.openjdk.org/jdk/pull/28244#issuecomment-3522921463


More information about the hotspot-dev mailing list