Mixed jstack does not work on Windows

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 9, 11, 17, 21, 25, 26
    • Component/s: hotspot
    • None

      When we run `jhsdb jstack --mixed` on Windows, we can see top of call frames only as following:

      ```
      ----------------- 4 -----------------
      "main" #3 prio=5 tid=0x0000021ee0357e90 nid=22356 waiting on condition [0x0000004ae7eff000]
         java.lang.Thread.State: TIMED_WAITING (sleeping)
         JavaThread state: _thread_blocked
      0x00007ffca3c41c44 ntdll!NtWaitForSingleObject + 0x14
      ----------------- 5 -----------------
      ```

      This is long standing bugs since JDK 9 at least (maybe this includes older JDK releases).
      We cannot depend on base pointer to unwind call frames, but SA do that.

            Assignee:
            Yasumasa Suenaga
            Reporter:
            Yasumasa Suenaga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: