When debugging an applet with JDB, the "threads" command lists applet
threads groups multiple times. It does not duplicate the "system" and
"main" threadgroups.
> threads
Group system:
1. (java.lang.Thread)0x9 Signal dispatcher cond. waiti
2. (java.lang.ref.Reference$ReferenceHandler)0xb Reference Handler cond. waiti
3. (java.lang.ref.Finalizer$FinalizerThread)0xd Finalizer cond. waiti
4. (java.lang.Thread)0xe Debugger agent running
5. (sun.tools.agent.Handler)0x10 Breakpoint handler cond. waiti
6. (sun.tools.agent.StepHandler)0x12 Step handler cond. waiti
Group main:
7. (java.lang.Thread)0x18 main running
8. (java.awt.EventDispatchThread)0x1a AWT-EventQueue-0 cond. waiting
9. (sun.awt.PostEventQueue)0x1c PostEventQueue-0 cond. waiting
10. (sun.awt.motif.InputThread)0x1e AWT-Input waiting in a mon
11. (java.lang.Thread)0x1f AWT-Motif cond. waiting
12. (sun.awt.ScreenUpdater)0x21 Screen Updater cond. waiting
13. (java.lang.Thread)0x25 Keep-Alive-Timer:wombat cond. waiting
Group http://wombat/~dlong/solar/-threadGroup:
Group http://wombat/~dlong/solar/-threadGroup-0:
14. (java.lang.Thread)0x26 class cond. waiting
15. (java.awt.EventDispatchThread)0x27 AWT-EventQueue-1 cond. waiting
16. (sun.awt.PostEventQueue)0x28 PostEventQueue-1 cond. waiting
Group http://wombat/~dlong/solar/-threadGroup-0:
14. (java.lang.Thread)0x26 class cond. waiting
15. (java.awt.EventDispatchThread)0x27 AWT-EventQueue-1 cond. waiting
16. (sun.awt.PostEventQueue)0x28 PostEventQueue-1 cond. waiting
Group http://wombat/~dlong/solar/-threadGroup:
Group http://wombat/~dlong/solar/-threadGroup-0:
14. (java.lang.Thread)0x26 class cond. waiting
15. (java.awt.EventDispatchThread)0x27 AWT-EventQueue-1 cond. waiting
16. (sun.awt.PostEventQueue)0x28 PostEventQueue-1 cond. waiting
Group http://wombat/~dlong/solar/-threadGroup-0:
14. (java.lang.Thread)0x26 class cond. waiting
15. (java.awt.EventDispatchThread)0x27 AWT-EventQueue-1 cond. waiting
16. (sun.awt.PostEventQueue)0x28 PostEventQueue-1 cond. waiting
dean.long@Eng 1998-08-31
threads groups multiple times. It does not duplicate the "system" and
"main" threadgroups.
> threads
Group system:
1. (java.lang.Thread)0x9 Signal dispatcher cond. waiti
2. (java.lang.ref.Reference$ReferenceHandler)0xb Reference Handler cond. waiti
3. (java.lang.ref.Finalizer$FinalizerThread)0xd Finalizer cond. waiti
4. (java.lang.Thread)0xe Debugger agent running
5. (sun.tools.agent.Handler)0x10 Breakpoint handler cond. waiti
6. (sun.tools.agent.StepHandler)0x12 Step handler cond. waiti
Group main:
7. (java.lang.Thread)0x18 main running
8. (java.awt.EventDispatchThread)0x1a AWT-EventQueue-0 cond. waiting
9. (sun.awt.PostEventQueue)0x1c PostEventQueue-0 cond. waiting
10. (sun.awt.motif.InputThread)0x1e AWT-Input waiting in a mon
11. (java.lang.Thread)0x1f AWT-Motif cond. waiting
12. (sun.awt.ScreenUpdater)0x21 Screen Updater cond. waiting
13. (java.lang.Thread)0x25 Keep-Alive-Timer:wombat cond. waiting
Group http://wombat/~dlong/solar/-threadGroup:
Group http://wombat/~dlong/solar/-threadGroup-0:
14. (java.lang.Thread)0x26 class cond. waiting
15. (java.awt.EventDispatchThread)0x27 AWT-EventQueue-1 cond. waiting
16. (sun.awt.PostEventQueue)0x28 PostEventQueue-1 cond. waiting
Group http://wombat/~dlong/solar/-threadGroup-0:
14. (java.lang.Thread)0x26 class cond. waiting
15. (java.awt.EventDispatchThread)0x27 AWT-EventQueue-1 cond. waiting
16. (sun.awt.PostEventQueue)0x28 PostEventQueue-1 cond. waiting
Group http://wombat/~dlong/solar/-threadGroup:
Group http://wombat/~dlong/solar/-threadGroup-0:
14. (java.lang.Thread)0x26 class cond. waiting
15. (java.awt.EventDispatchThread)0x27 AWT-EventQueue-1 cond. waiting
16. (sun.awt.PostEventQueue)0x28 PostEventQueue-1 cond. waiting
Group http://wombat/~dlong/solar/-threadGroup-0:
14. (java.lang.Thread)0x26 class cond. waiting
15. (java.awt.EventDispatchThread)0x27 AWT-EventQueue-1 cond. waiting
16. (sun.awt.PostEventQueue)0x28 PostEventQueue-1 cond. waiting
dean.long@Eng 1998-08-31