Is there a call tree view available for jvisualvm or NetBeans profiler?
Asked Answered
P

2

9

JProfiler offers a live call-tree view so you can see what's using CPU in real-time and drill down for the details. Reset the counts to zero at any time, rinse, repeat.

I'm currently without that tool, and trying to get by with free/open alternatives. jvisualvm and the NetBeans profiler have a static snapshot call-tree and a live flat view. It seems to reason that there would a live call-tree view available (or as a plugin) but I can't seem to find one.

Is this sort of feature only available in commercial profilers?

Thanks.

Poetize answered 29/7, 2010 at 15:0 Comment(0)
P
0

Given that no-one has mentioned a non-commercial version of this feature, and that I can't find one, I will claim the answer is:

As of the time of this post, this feature is only available in commercial profilers.

Update May 2012. I Still can't find anything.

Poetize answered 30/9, 2010 at 20:38 Comment(3)
do you really think this answer deserves to win the bounty?Britannic
As you can see, I asked this question years ago. I looked everywhere I could then. Asked coworkers who were familiar with NetBeans profiler, etc. After the bounty I decided to look again and it seems clear to me that STILL there is a live flat view and a static call tree view. netbeans.org/kb/docs/java/profiler-intro.html. My answer is as correct as it gets. So, YES. Until someone posts an answer proving otherwise, I do deserve to win the bounty.Poetize
Also, @shailesh, this answer predates the bounty by a year and a half.Poetize
C
6

If you hit the 'Snapshot' button in the Sampler or Profiler windows after profiling CPU usage, it will show you a call tree with a summary of the CPU time for each method, along with self-times.

Source: https://mcmap.net/q/1318556/-getting-breakdown-of-method-execution-time-in-jvisualvm

Confiteor answered 29/4, 2013 at 8:32 Comment(1)
looks like this is also the case with NetBeans--you must take a snapshot first, then it will show you the call graph instead of just a list of methods. Yikes, NetBeans.Nikola
P
0

Given that no-one has mentioned a non-commercial version of this feature, and that I can't find one, I will claim the answer is:

As of the time of this post, this feature is only available in commercial profilers.

Update May 2012. I Still can't find anything.

Poetize answered 30/9, 2010 at 20:38 Comment(3)
do you really think this answer deserves to win the bounty?Britannic
As you can see, I asked this question years ago. I looked everywhere I could then. Asked coworkers who were familiar with NetBeans profiler, etc. After the bounty I decided to look again and it seems clear to me that STILL there is a live flat view and a static call tree view. netbeans.org/kb/docs/java/profiler-intro.html. My answer is as correct as it gets. So, YES. Until someone posts an answer proving otherwise, I do deserve to win the bounty.Poetize
Also, @shailesh, this answer predates the bounty by a year and a half.Poetize

© 2022 - 2024 — McMap. All rights reserved.