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

LiveStackFrameInfo.getLocals does not materialize virtual objects

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 11, 12
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
      None

      Description

      LiveStackFrameInfo.getLocals returns null for virtual objects (the JIT compiler has eliminated a "non-escaping" allocation). There should be a way to recognize and materialize these virtual objects. For example, see jdk.vm.ci.hotspot.HotSpotStackFrameReference.
      materializeVirtualObjects.

      Test attached.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: