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

SA: jstack in mixed mode does not print the full stack trace for all the threads

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • tbd
    • 11
    • hotspot
    • None

      jhsdb jstack –mixed –pid PID” in latest openjdk 11 64-bit on latest Ubuntu(18.04) and latest fedora (29) and RHEL 8 Beta does not print the full stack trace for all the threads. The stack traces are truncated, though all the threads are printed.

      ----------------- 1479 -----------------
      "DestroyJavaVM" #17 prio=5 tid=0x0000000000bae000 nid=0x5c7 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         JavaThread state: _thread_blocked
      0x00007f839224f9f3 __pthread_cond_wait + 0x243
      ----------------- 1480 -----------------
      ----------------- 1481 -----------------
      "Reference Handler" #2 daemon prio=10 tid=0x0000000000c36000 nid=0x5c9 waiting on condition [0x00007f8376d15000]
         java.lang.Thread.State: RUNNABLE
         JavaThread state: _thread_blocked
      0x00007f839224f9f3 __pthread_cond_wait + 0x243
      ----------------- 1482 -----------------
      "Finalizer" #3 daemon prio=8 tid=0x0000000000c3a000 nid=0x5ca in Object.wait() [0x00007f8376c14000]
         java.lang.Thread.State: WAITING (on object monitor)
         JavaThread state: _thread_blocked
      0x00007f839224f9f3 __pthread_cond_wait + 0x243
      ----------------- 1483 -----------------
      "Signal Dispatcher" #4 daemon prio=9 tid=0x0000000000c56800 nid=0x5cb runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         JavaThread state: _thread_blocked
      0x00007f83922526d6 do_futex_wait.constprop.1 + 0x36


            Unassigned Unassigned
            sballal Sharath Ballal (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: