cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Threads - Difference in both views (JVM Metrics vs Thread Analysis)

jibi_uthaman1
Participant

Trying to understand why the JVM view is showing higher threads still while the thread analysis shows that it did increase and then drop.

 

 

 

1 REPLY 1

Enrico_F
DynaMight Pro
DynaMight Pro

This could be due to a combination of 3 things:

  1. The thread analysis chart is based on thread dumps/snapshots while the JVM details are based on built-in JMX metrics about thread pools
  2. The same thread object can be seen in more than one state across multiple snapshots
  3. The thread analysis view does not count idle threads in thread pools

This is just a guess though, especially #3 (maybe it matters whether or not a thread is in state WAITING or TIMED_WAITING).

Featured Posts