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

AArch64: Shenandoah C1 CAS is not sequentially consistent

    XMLWordPrintable

Details

    • gc
    • b18
    • aarch64
    • linux

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: