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

Evgeny Astigeevich eastigeevich at openjdk.org
Mon Nov 17 10:49:20 UTC 2025


On Thu, 13 Nov 2025 19:35:53 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:

> > @fisk , I'm assuming that no other thread is executing the target instructions while were patching them.
> 
> Indeed; no concurrent thread is executing the instructions being modified.

So, this confirms the redundancy of the `fence`, doesn't it?

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

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


More information about the hotspot-dev mailing list