Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Not all methods show up

Moderators: Vladimir Kondratyev, Anton Katilin

Not all methods show up

Postby ItsHarry » Tue Nov 10, 2015 6:48 pm


Perhaps this is not how CPU profiling is supposed to work, but why is it that a lot of methods in my code are not seen in CPU tracing snapshots? For example, I have a Runnable which corresponds to Room$4.java, which I know for a fact is using 50ms on average per invocation (in-code timings). Yet, it does not show up anywhere in the snapshot?

I would like to know how much time exactly is spent in this specific method, and even better would be if I could see exactly which line is spending the most time.

Posts: 7
Joined: Sat Feb 16, 2013 3:10 pm

Re: Not all methods show up

Postby Anton Katilin » Tue Nov 10, 2015 8:58 pm

Hello Harry

Please try to turn off the filters:

If you attach the profiler to a running JVM instead of starting it with the profiler agent, some classes may not be immediately reloaded, and old class versions without tracing callbacks may keep running:

If neither helps, please check whether you see the missing methods with CPU sampling.

Best regards,
Anton Katilin
Posts: 5709
Joined: Wed Aug 11, 2004 8:37 am

Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 17 guests