This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thread dump - thread states

 
Tony Morris
Ranch Hand
Posts: 1608
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is an expert from a core dump requested from my VM, which has deadlocked:

2XMFULLTHDDUMP Full thread dump Classic VM (J2RE 1.3.1 IBM Windows 32 build cn131-20021102, native threads):
3XMTHREADINFO "Thread-1" (TID:0x903EA0, sys_thread_t:0x7B0270, state:CW, native ID:0x4DC) prio=5
3XMTHREADINFO "AWT-Windows" (TID:0x903F30, sys_thread_t:0x11808230, state:R, native ID:0x464) prio=6
4XESTACKTRACE at sun.awt.windows.WToolkit.eventLoop(Native Method)
4XESTACKTRACE at sun.awt.windows.WToolkit.run(WToolkit.java:211)
4XESTACKTRACE at java.lang.Thread.run(Thread.java:512)
3XMTHREADINFO "SunToolkit.PostEventQueue-0" (TID:0x903F78, sys_thread_t:0x118057E0, state:CW, native ID:0x38C) prio=6
4XESTACKTRACE at java.lang.Object.wait(Native Method)
4XESTACKTRACE at java.lang.Object.wait(Object.java:429)
4XESTACKTRACE at sun.awt.PostEventQueue.run(SunToolkit.java:514)
3XMTHREADINFO "AWT-EventQueue-0" (TID:0x903FD0, sys_thread_t:0x11781398, state:CW, native ID:0x1A4) prio=5
4XESTACKTRACE at java.lang.Object.wait(Native Method)
4XESTACKTRACE at java.lang.Object.wait(Object.java:429)
4XESTACKTRACE at java.awt.EventQueue.getNextEvent(EventQueue.java:353)
4XESTACKTRACE at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:149)
4XESTACKTRACE at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
4XESTACKTRACE at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:132)
4XESTACKTRACE at java.awt.EventDispatchThread.run(EventDispatchThread.java:124)
3XMTHREADINFO "Finalizer" (TID:0x904100, sys_thread_t:0x8A8C88, state:CW, native ID:0x400) prio=8
4XESTACKTRACE at java.lang.Object.wait(Native Method)
4XESTACKTRACE at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:133)
4XESTACKTRACE at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:148)
4XESTACKTRACE at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:213)
3XMTHREADINFO "Reference Handler" (TID:0x904148, sys_thread_t:0x10CA6C98, state:CW, native ID:0x424) prio=10
4XESTACKTRACE at java.lang.Object.wait(Native Method)
4XESTACKTRACE at java.lang.Object.wait(Object.java:429)
4XESTACKTRACE at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:131)
3XMTHREADINFO "Signal dispatcher" (TID:0x904190, sys_thread_t:0x8A1FA8, state:R, native ID:0x408) prio=5


Can anyone tell me what state:CW and state:R mean? What are other possible states?
 
Tony Morris
Ranch Hand
Posts: 1608
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic