Miss some methods stack

Questions about YourKit Java Profiler
Post Reply
bean
Posts: 3
Joined: Mon May 12, 2014 8:54 am

Miss some methods stack

Post by bean »

Hi,
My requirement is to evaluate the performance of new feature of my apps. When a feature is ready, I'd like to trigger a CPU profiling to see whether the methods take long CPU. I used the Tracing CPU profiling, but can't get the method stack and sql in most time. Maybe the YourKit filter the methods which take very tiny time, for example 0.1ms I guess, or some extra configurations needed. I don't want to miss the methods stack even they are not in hot spots. My question is how should I do to see the whole methods stack? Thanks.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Miss some methods stack

Post by Anton Katilin »

Hi,

Please consider changing filters:
http://www.yourkit.com/docs/java/help/filters.jsp

Also, you may want to turn adaptive tracing off:
http://www.yourkit.com/docs/java/help/t ... ttings.jsp
bean
Posts: 3
Joined: Mon May 12, 2014 8:54 am

Re: Miss some methods stack

Post by bean »

Anton,
Thanks for your quick reply.
I just uncheck "Collapse Filter Calls", and get more call stacks. But I'm afraid I still miss some call stacks since I lost the latest SQL. Do I need to wait some time to stop CPU profiling after my page action? Or is there any tips?
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Miss some methods stack

Post by Anton Katilin »

Which version of the profiler do you use?

Please try v2014 EAP:
http://www.yourkit.com/eap
bean
Posts: 3
Joined: Mon May 12, 2014 8:54 am

Re: Miss some methods stack

Post by bean »

I try the latest beta version, and am evaluating this product to see whether we need buy this tool for our profiling.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Miss some methods stack

Post by Anton Katilin »

Please let us know whether the problem is reproducible with v2014 EAP. If it is, could you please send the problematic snapshot file to [email protected]
Post Reply