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

add compiler intrinsic to materialize objects

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P2
    • Resolution: Unresolved
    • Affects Version/s: 12
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      The C2 and Graal compilers can eliminate allocations, producing virtual objects, if escape analysis determines that the objects never escape. However, in order to ensure that the objects show up in stack walks, we need a way to materialize these objects (as if they always escape).

      One way to do this is to pass the object to a native method, but a compiler intrinsic would be better.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              dlong Dean Long
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: