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

Evgeny Astigeevich eastigeevich at openjdk.org
Tue Nov 11 21:41:34 UTC 2025


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

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

Commit messages:
 - 8371649: AArch64: redundant OrderAccess::fence in ZBarrierSetAssembler::patch_barrier_relocation

Changes: https://git.openjdk.org/jdk/pull/28244/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28244&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8371649
  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/28244.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28244/head:pull/28244

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


More information about the hotspot-dev mailing list