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

LiveStackFrameInfo.getLocals does not materialize virtual objects

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P3
    • tbd
    • 11, 12
    • core-libs
    • 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

        1. StackWalkTest.java
          1 kB
          Dean Long
        2. StackWalkTest9.java
          2 kB
          Brent Christian

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dlong Dean Long
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: