Tomcat Manager reports a different number of threads than ThreadMXBean. The number of threads reported by ThreadMXBean is the same as the number of threads reported in YourKit Profiler. Is there any difference between Tomcat threads and JVM threads?
Line from Tomcat Manager:
Maximum threads: 200 Number of current threads: 7 Current thread busy: 3
ManagementFactory.getThreadMXBean () getThreadCount () :.
38
source
share