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

Shenandoah: streamline post-LRB CAS barrier (aarch64)

    Details

    • Type: Enhancement
    • Status: New
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8-shenandoah, 11-shenandoah, 12, 13, 14
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
      gc

      Description

      This is the follow-up after JDK-8222766, but for AArch64.

      After LRB switched Shenandoah to strong to-space invariant, we can simplify CAS handling logic a bit. Notably, we can avoid the retry loop that was needed due to from-space ptrs potentially stored in memory.

      Current CAS code in AArch64 uses LL/SC with retries already, and so it needs to be carefully reviewed and optimized.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                shade Aleksey Shipilev
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: