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

java.lang.management.ThreadInfo lacks information about thread group

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • None
    • core-svc
    • None

      The HotSpot thread MBean (object name java.lang:type=Threading) implementing java.lang.management.ThreadMXBean (http://docs.oracle.com/javase/7/docs/api/index.html?java/lang/management/ThreadMXBean.html) exposes an assortment of operations to retrieve ThreadInfo (http://docs.oracle.com/javase/7/docs/api/index.html?java/lang/management/ThreadInfo.html) for the different running threads. ThreadInfo contains a lot of information but non regard which thread group each thread belongs to.

      It might be too much work to introduce a ThreadGroupInfo class to fully describe the group, but at least providing the thread group name would make it much simpler from a management point of view to sort the threads according to their grouping and responsibilities.

            Unassigned Unassigned
            mjoelson Mattias Joƫlson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: