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

SA jstack does not display the AOT compiled frames

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 9, 10
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      SA jstack does not display the AOT compiled frames (and probably caller frames of AOT compiled frames also)

      Running the bundled jstack on a process with AOT compiled library gives :
      ...
      "main" #1 prio=5 os_prio=0 tid=0x00007f949c01a000 nid=0x6124 runnable [0x00007f94a6353000]
         java.lang.Thread.State: RUNNABLE
         JavaThread state: _thread_blocked
      Thread: 0x00007f949c01a000 [0x6124] State: _call_back _has_called_back 1 _at_poll_safepoint 1
         JavaThread state: _thread_blocked
              at HelloMethod.methAgain(HelloMethod.java:4)
              at HelloMethod.meth(HelloMethod.java:11)
              at HelloMethod.main(HelloMethod.java:20)

      The HelloMethod frames here are AOT compiled.

      with SA jstack for the same thread:

      Thread 24868: (state = IN_JAVA)

      Locked ownable synchronizers:
          - None

      Here, no stack frames are displayed for the same thread.



        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jgeorge Jini George (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: