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

AArch64: Shenandoah C1 CAS is not sequentially consistent

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b18
    • CPU:
      aarch64
    • OS:
      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

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

                  Dates

                  Created:
                  Updated:
                  Resolved: