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

JConsole Thread tab: thread filter by THREAD state

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: tools
    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description

      A DESCRIPTION OF THE REQUEST :
      In JConsole thread tab there is great thing as Thread name filter and this works fine because general practique is developer to name their custom threads with usefull names.

      I use this tool for memory leak detectrion and for deadlock detection in my server application. I found that it will be in GREAT help if thread state filter and thread state column were added in addition to Thread name filter. and thread table.

      JUSTIFICATION :
      In normal server application there are constant process in Thread creations/deads and Thread state changing.
      It will be great if along with thread name in thread table developers can see thread state too from one hand, and from other hand to be able filter Thread by their state.



      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Application have couple of Thread that share same object thant has synchronized methods/or blocks/.

      1.Developer would like to filter these threads by name for example (he must take care of appropriate thread naming) and to watch how thread state changes during the application work - i.e. how selected threads changes their state during the application work.

      2.Developer can just whant to see thread state(and its changes during the application work) in table WITHOUT need to click on Thread stacktrace and state info to see this niformation.

      3.I think there also be good idea to add the number of curretly live threads in different thread sates to (Thread peak (nnn), Thread Live(xxx), Thread RUNNING (xxx),Thread WAITING (xxx) ,...etc.)
      ACTUAL -
      Currently to see thread state developer must click on each tread wich is boring and not a good idea.

      CUSTOMER SUBMITTED WORKAROUND :
      Currently I have server heartbeat thread that logs in log file all thread names wirh threir state and stacktrace on fixed niterval (30 sek) to detect such prbolems - I fonud that Jconsole is great tool and can do great the job in this "motioring" area.

        Attachments

          Activity

            People

            • Assignee:
              leifs Leif Samuelsson (Inactive)
              Reporter:
              tbell Tim Bell
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: