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

Add isDaemon() and getPriority() to ThreadInfo

XMLWordPrintable

        RFE 6588263 asks for JConsole to show in its Threads tab whether threads are daemon threads or not. But it can't currently do that because that information is not available from the ThreadMXBean. A simple way to make it available would be to add a "boolean isDaemon()" method to ThreadInfo. Looking over the other getters in java.lang.Thread, we could perhaps add getPriority() and getThreadGroupName() as well.

        This is an API change so cannot be made before the next major release.

              jmanson Jeremy Manson (Inactive)
              emcmanus Eamonn McManus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: