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

RFE: Add a Thread Dump command to the plugin console

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.1
    • 1.3.0, 1.4.0
    • deploy
    • hopper
    • generic, x86
    • generic, windows_nt



      Name: boT120536 Date: 03/14/2001



      I like the dumps that are given when various letters are pressed in the JRE
      1.3.0_01 plugin console. I also have application code which will dump its
      thread stacks and monitor lists when it is sent a SIGQUIT signal. This is
      instrumental in finding deadlock problems. It would be nice to have a command
      in the plugin console that would do the same thing as a SIGQUIT, and dump the
      stacks of all the thread, and the monitor watch list. One command for each of
      these dumps would be fine too.

      Here is the list of current commands which I would like to have this
      functionality added to:

      Java(TM) Plug-in: Version 1.3.0_01
      Using JRE version 1.3.0_01 Java HotSpot(TM) Client VM
        User home directory = C:\WINNT\Profiles\AndrewE

      Proxy Configuration: no proxy



      ----------------------------------------------------
      c: clear console window
      f: finalize objects on finalization queue
      g: garbage collect
      h: display this help message
      l: dump classloader list
      m: print memory usage
      q: hide console
      s: dump system properties
      t: dump thread list
      x: clear classloader cache
      0-5: set trace level to <n>
      ----------------------------------------------------

      The thread list does not include the threads' stacks. There is no way to dump
      the monitor list, which shows the list of locked objects, and the threads which
      are waiting for them to unlock.
      (Review ID: 118819)
      ======================================================================

            dgu Dennis Gu (Inactive)
            bonealsunw Bret O'neal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: