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

Understand CPU Sampling

external_z29afr
Newcomer


How i can understand why my CPU is using at 100% ?


I did a CPU Sampling but it is not explicit...


What can i do more ?



I done a ThreadDump and find a lot of thread with Lock Support (like found in the CPU Sampling)

But i don't know what is this, why i got it and how fix it =x

Thread[Statistics Thread,5,main]:124, stackTrace:
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
...
1 REPLY 1

harald_berger
Dynatrace Pro
Dynatrace Pro

Hi,

It is always a good idea to group the cpu sampling by thread to see which thread is consuming the most time. But please be aware of the fact the also other processes (non java) can consume CPU, which will not appear in the CPU sample.

Best

Harry