Visual VM

Try this, it’s pretty cool. Does profiling just like netbeans, but with minimal effort. All i had to do was download it (8mb) then unzip and then run the exe file, which automatically found all running java programs and let me profile and look at them! :smiley: 8)

https://visualvm.dev.java.net/index.html

I found out about it here: http://java.dzone.com/announcements/jdk-6-update-7

I can’t find a way to go deeper into the CPU-usage by clicking on the rows showing methods (which you can do in netbeans), but I haven’t tried very hard.

Looks cool, updating my java now…

I think you have to take a snapshot before you are able to inspect the details.

Great, thanks, yeah that works a treat.

This program is really amazing.

By the way, I think that the -Xprof profiler is still better than this one. In the past I found that its results were different from the netbeans profiler (on which this VisualVM profiler is built) and that it had less impact on the program I was profiling.

But surely the workflow with this tool is better than the command line profiling we had before. There was serious need for a tool like this in the JDK, so I’m very happy that Sun included it. Speaking of which, it is a new trend that Sun includes new features in the updates? I didn’t see this coming at all, and the update 10 will basically be Java 6.1.

Thanks for the link!

That is really cool 8) It is probably not the very best profiling tool around, but the fact that is just there for free with the JDK is superb! And that you can launch it whenever you like is great for the times when you have problems appearing just now and then.