SyntaxFix
Write A Post
Hire A Developer
Questions
ManagementFactory.getThreadMXBean().getThreadCount() doesn't limit itself to thread groups as Thread.activeCount() does.
ManagementFactory.getThreadMXBean().getThreadCount()
Thread.activeCount()