InfoQ

News

Open Source Troubleshooting for Java

Posted by Craig Wickesser on May 12, 2008 05:56 PM

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

Bindings, Platforms, and Innovation

This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.

Orchestrating Long Running Activities with JBoss / JBPM

This article explores the use of JBoss and jBPM to implement design solutions that effectively address the issue of orchestrating long running activities.

Neo4j - The Benefits of Graph Databases

This presentation covers the use of graph databases as an optimal solution for data that is difficult to fit in static tables, rapidly evolving data or data that has a lot of optional attributes.

Realistic about Risk: Software development with Real Options

This session introduces Real Options and shows how it can help in running your project. Real Options is a decision-making process that can be used to manage risk.

Communication Flexibility Using Bindings

This article discusses the use of bindings on services and references (including the instance of non-configured bindings) as the means to implement SCA communications in a Web and SOA environment.

Writing DSLs in Groovy

After a short introduction to DSLs, Scott Davis plays with the keyboard showing how to approach the creation of a DSL by typing working snippets of Groovy code that get executed.

Scaling Agile with C/ALM (Collaborative Application Lifecycle Management)

IBM Rational and InfoQ present, Scaling Agile with C/ALM, an eBook showing organizations how to become “finely tuned software delivery machines” by enabling team integration and scaling.

Concurrent Programming with Microsoft F#

Amanda Laucher presents a real life enterprise application written in F#. She shows actual code snippets, explaining design decisions and suggesting how to use some of the F# constructs.