Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8252857

AArch64: Shenandoah C1 CAS is not sequentially consistent

XMLWordPrintable

    • gc
    • b18
    • aarch64
    • linux

        C1 atomic operations are supposed to be sequentially consistent by default but the variant in the Shenandoah C1 barrier set assembler isn't. It needs to call cmpxchg_oop with acquire/release set to true and then emit a trailing membar.

        Noticed this while debugging JDK-8252853 but it's actually not related.

              ngasson Nick Gasson
              ngasson Nick Gasson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: