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

ZGC: Enable C2 clone intrinsic

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b22

      Description

      ZGC currently disables the C2 clone intrinsic. In order to support it, BarrierSetC2::clone_at_expansion() must be overridden to perform a leaf call to the VM to walk the source object oops. The support for array object cloning is already in place. There is an ideal transformation for small clones but the fallback is missing.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                neliasso Nils Eliasson
                Reporter:
                eosterlund Erik Ă–sterlund
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: