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

Andrew Haley aph at openjdk.org
Wed Nov 12 14:06:28 UTC 2025


On Wed, 12 Nov 2025 10:33:10 GMT, Andrew Haley <aph 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.
>
> Marked as reviewed by aph (Reviewer).

> Thank you, @theRealAph JFYI, where it was found: https://bugs.openjdk.org/browse/JDK-8370947

That's fascinating, thanks.

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

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


More information about the hotspot-dev mailing list