LiveStackFrameInfo.getLocals does not materialize virtual objects

XMLWordPrintable

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

      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.

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

              Created:
              Updated: