« říjen 2008
Po Út St Čt Pá So Ne
   
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
   
             

Navigation

Am I popular?

Today's Page Hits: 34

Contacts

Name: Roman Strobl
E-mail: roman dot strobl
at sun dot com

NetBeans

[image]

Java Sites

Blogs

License info

Creative Commons License
This work is licensed under a Creative Commons License.

Recent Entries

NetBeans has compile on save! NetBeans Podcast moved over to Geertjan My new role at Sun and a new group blog Groovy / Grails added into standard distribution Are you coming to Jazoon? Where are NetBeans users? NetBeans Podcast Episode #43 NetBeans in Israel Foss Camp Prague MySQL in Prague / MySQL v Praze! NetBeans is becoming a great Scala IDE Bundle NetBeans + Glassfish + MySQL NetBeans Day, Community One, Java University, Java One... Screencast: New JavaScript editor in NetBeans 6.1 NetBeans 6.1 has been released! Where did my plug-ins go? Installing NetBeans on OpenSolaris Where is NetBeans 6.1? OpenSolaris Review Performance improvements in NetBeans 6.1 Java and NetBeans on Ubuntu 8.04 NetBeans Grant: winning projects announced Time to vote Have you already downloaded NetBeans 6.1 RC1? NetBeans poetry site uncovered Gregg Sporar Tried to Break My Disk Drive! Get your Java gear NetBeans 7.0 plans uncovered - NetBeans to become an online IDE NetBeans Podcast Episode #42 The show must go on... The easiest way to get a NetBeans t-shirt... Progress of the Groovy/Grails plug-ins for NetBeans Marilyn Monroe at NetBeans party How to get to the NetBeans party at EclipseCon Running at EclipseCon NetBeans party at EclipseCon IDE shootout in Italy NetBeans Platform Training in Prague Have you already installed NetBeans 6.1 beta? NetBeans Podcast Episode #41 NetBeans grant submissions deadline extended Sun shines on Jython New demo: NetBeans & MySQL Looking for feedback on new ClearCase support New update center for localization Learn more about NetBeans Grant Interview with Martin Adamek about NetBeans Groovy support Weird Sun Microsystems video Partial parsing in NetBeans editor leads to significant performance boost This is how I risk my life to evangelize NetBeans... Cologne JUG visit Notification for updates New ClearCase support now in beta NetBeans 6.0.1 has been released NetBeans Podcast Episode #40 Android plug-in for NetBeans Expanding to new communities Chat transcript from Second Life Nabídka práce pro studenty Get paid for contributing to NetBeans! NetBeans 6.1 Milestone 1 available Switching to Mercurial What is Visual VM? NetBeans Gathering in Second Life NetBeans Podcast Episode #39 Congratz, NetBeans community! Getting ready for Mercurial Micah and Martin on the road again Happy New Year Developer conference in Grenoble Five demos from Gregg First version of NetBeans Scala plug-in available NetBeans Podcast Episode #38 Pictures from my travels New screencast: Matisse in NetBeans 6.0 Zápisky z Indie On the road again NetBeans 6.0 has been released! Karlovy Vary airport runs on Glassfish More about Groovy/Grails and NetBeans Bubble competition winner announced Community acceptance survey results published A picture from Cairo New Scala plug-in project started NetBeans will get better Groovy and Grails support NetBeans 6.0 RC2 released Is NetBeans 6 ready for release? NetBeans 6.0 RC1 released NetBeans day Cairo information Enter the NetBeans Matrix What saves me on long flights Two missing features in NetBeans 6.0 How to access update center / plugin manager over web NetBeans can refactor C/C++ code! NetBeans goes to Dubai NetBeans podcast episode #37 Friday fun stuff Page layouts in Visual web pack Using Developer collaboration behind firewall No JDK 6 on Macs

Map of visits

Locations of visitors to this page
20080125 Pátek leden 25, 2008
What is Visual VM?

Visual VM is a new project whose goal is to provide monitoring and profiling tools for the JVM with a GUI. You may ask - why do we need visual VM when we have NetBeans profiler? Well, in order to use NetBeans profiler you need to use NetBeans - on the contrary Visual VM is a standalone application (based on NetBeans platform :).

So what is the difference between NetBeans profiler and Visual VM? Some parts are very similar - especially the thread, CPU and memory profiling. Visual VM doesn't have some of the advanced features of NetBeans profiler, such as load generation with jMeter and source code related features including profiling points. On the other hand it is a "all-in-one" tool for monitoring and profiling tasks. So it integrates functionality from various command line tools such as jps, jstack, jstat, jmap and jinfo.

When you run Visual VM you can see all running java processes and you can connect to them, take thread dumps, heap dumps, analyze CPU and memory performance. Although Visual VM requires JDK 6 to start you can connect to applications running on 1.4.2 or higher. And you can also connect to remote hosts and perform remote profiling.

Visual VM also shares the NetBeans plug-in architecture, so you can create plug-ins for Visual VM like if they were NetBeans plug-ins. Right now you can install an MBeans browser plug-in and a visual GC plug-in.

You can download Milestone 1 of Visual VM and give it a spin yourself. For more information look at the PDF presentation from last Java One BoF about Visual VM.

[image]

Trackback URL: http://blogs.sun.com/roumen/entry/what_is_visual_vm
Comments:

has Visual VM any advantages over JConsole? Or is it some kind of modular replacement for JConsole? ;)

nonetheless works great!

Posted by Michael Bien on leden 25, 2008 at 02:53 odp. CET #

JConsole can't do profiling, so that's one advantage. Also all the tools are integrated in one package (if anything's missing it may be added - we have M1 now, it's the first preview). I think Visual VM and JConsole will co-exist, at least for some time, however Visual VM has a lot of potential because it's easily extensible thanks to modular architecture which is the same as of NetBeans.

Posted by Roman Strobl on leden 25, 2008 at 04:19 odp. CET #

Just a note that in your banner at the top of your page you have a logo encouraging people to "Get the new Netbeans 5.5"

Posted by Hayden Jones on leden 25, 2008 at 05:26 odp. CET #

Fixed, thanks.

Posted by Roman Strobl on leden 25, 2008 at 05:40 odp. CET #

There is an introductory document available on the project web site at: https://visualvm.dev.java.net/description.html

Posted by Gregg Sporar on leden 26, 2008 at 12:09 dop. CET #

One of my favorites that's in VisualVM is the VisualGC plugin is already available as optional plug-in in the update center. I really like the "undock" / "dock" capability when using VisualGC in VisualVM. If I could just have multiple VisualGC windows monitoring different JVMs at the same time within VisualVM I'd be an incredibly happy VisualVM user :-)

Posted by huntch on leden 26, 2008 at 03:01 odp. CET #

Very Interesting. I'm sure it can be very helpful for debugging and performance issue tracking.
I'm going to try it.

Posted by Reza Azizi on leden 28, 2008 at 05:42 odp. CET #

This does indeed sound interesting and a welcome 'companion' to jConsole; although the requirement that it must use JDK 6 could be a slight issue. I fear that a lot of large firms haven't made the jump to 6 yet. However I will certainly have a play with this at home. Will it also work on apps running in Glassfish ?

Posted by AlexC on leden 30, 2008 at 07:45 dop. CET #

Hi AlexC,
VisualVM itself runs on JDK6, however the monitored / profiled application can run on anything from JDK 1.4.2 up. There are couple of limitations based on specific JDK version as listed on https://visualvm.dev.java.net/

VisualVM by default treats GlassFish as a generic Java app. VisualVM is fully extensible though, so it is easy to make a GlassFish plugin that would provide some more specific info / control over the server as well as its running apps. The good news is the work on this plugin is already in progress :)

cheers,
Arseniy

Posted by Arseniy Kuznetsov on leden 30, 2008 at 02:29 odp. CET #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed


    Disclaimer: The contents of my blog represent my personal opinions which may differ from official views of my employer, Sun Microsystems.


You are viewing a mobilized version of this site...
View original page here

Mobilized by Mowser Mowser