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

C2: Skip transformation of LoadConP for compressed oops and klass pointers

XMLWordPrintable

      C2's final graph reshaping performs the following transformation:
      Original pattern: LoadConP + Storage access
      Transformed pattern: LoadConN + DecodeN heap-based + Storage access

      This seems to be fine for simpler compressed oops mode. It also seems to be fine on x86 which can match the decoding into the operand of the Storage access instruction.

      Other platforms should better skip the transformation.

      JDK-8155729 implemented these changes for aarch64 and ppc64.

      This RFE targets other platforms.

            Unassigned Unassigned
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: