InfoQ

News

Open Source Troubleshooting for Java

Posted by Craig Wickesser on May 12, 2008

Community
Java
Topics
Software Troubleshooting
Tags
Troubleshooting

VisualVM is an OpenJDK project from Sun to create an all-in-one troubleshooting tool for Java applications. The tool is a combination of several existing tools and newer profiling capabilities such as jvmstat, JMX, Attach API and others. VisualVM can be run as a stand alone application or extended using it's robust API.

On the Java SE for Business Features and Benefits page VisualVM is described as a tool that can,

Track down the root cause of reliability, availability, or scalability issues in your deployed applications faster and easier than ever before.
And according to the VisualVM project site,
This tool is designed for both production and development time use and further enhances the capability of monitoring and performance analysis for the Java SE platform.

At the time of this writing VisualVM 1.0 RC1 is available for download with an official 1.0 release expected in the summer of 2008, according to Thomas Hurka, lead developer on VisualVM. It includes support for JDK versions 1.4.2, 5.0 and 6.0, although JDK 6.0 is the most featureful. Some of the features provided include:

  • Profiler
  • Thread Dump
  • Heap Dump
  • Profiling Snapshots
  • Application Snapshots
When asked about plans for completing the features in other versions of the JDK, Thomas Hurka said,
VisualVM uses different technologies to get data from JDK (jvmstat, JMX, Attach API, Serviceablity agent). If technology is not available on particular JDK or operation system, VisualVM features, which relies on such technology, are not available.
Additionally, VisualVM is "pluggable". It includes several plugins which allow it to monitor, manage and troubleshoot applications deployed to GlassFish, as well as other plugins to make it easier to work with the API in NetBeans (nbproject plugin).

 
An all-in-one open source troubleshooting solution from Sun helps show their commitment to the Java community. Speaking of community, at JavaOne 2008 there were five sessions surrounding VisualVM. If you had a chance to attend any of those sessions, the InfoQ community would enjoy your comments and feedback.

For additional information try some of the following links:

 

No comments

Watch Thread Reply

Educational Content

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.