[lworld] Intrinsic for Unsafe.newSpecialArray

XMLWordPrintable

      Unsafe.newSpecialArray is creating an array out of a field layout code for binary equivalence comparison. This is currently an opaque token to Unsafe.compareAndSetFlatValueAsBytes, that memory access to the resulting array cannot be understood by C2. C2 should recognize the arrays produced by this API (given the class and layout are constant) and inline and constant fold the cas routines.

            Assignee:
            Unassigned
            Reporter:
            Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: