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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 26
    • Component/s: hotspot
    • gc
    • aarch64

      ZBarrierSetAssembler::patch_barrier_relocation has the following code:

        OrderAccess::fence();
        ICache::invalidate_word((address)patch_addr);

      OrderAccess::fence(), which is FULL_MEM_BARRIER, is redundant.
      The cache maintenance function internally handles any required barriers.

            Assignee:
            Evgeny Astigeevich
            Reporter:
            Evgeny Astigeevich
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: