Can I use xperf to profile Java managed code

54 Views Asked by At

On the lines of the question Can I use xperf to profile managed code?,

can I use xperf to profile the CPU time inside Java-managed code? Currently, I see a blob like this enter image description here Thanks

1

There are 1 best solutions below

0
On

Not really. The results are not going to be useful. This tool will only profile the execution of the java.exe process which includes the JVM execution, but it doesn't know about your Java code.