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

Reply

Exclusive Content

Rationalizing the Presentation Tier

Thin client paradigm characterized by web applications is a kludge that needs to be repudiated. Old compromises are no longer needed and it's time to move the presentation tier to where it belongs.

Agile Project Management: Lessons Learned at Google

In this presentation filmed during QCon 2007, Jeff Sutherland, the creator of Scrum, talks about his visit at Google to do an analysis of Google's first implementation of Scrum.

AtomServer – The Power of Publishing for Data Distribution

In this article, Bryon Jacob and Chris Berry introduce AtomServer, their implementation of a full-fledged Atom Store based on Apache Abdera, which is now available as open source.

An Introduction to Virtualization

It is easy to think that virtualization applies only to servers. In reality the recent resurgence of the concept is also being applied to networking, storage, and application infrastructure.

REST Anti-Patterns

In this article, Stefan Tilkov explains some of the most common anti-patterns found in applications that claim to follow a "RESTful" design and suggests ways to avoid them.

Choosing between Routing and Orchestration in an ESB

In this article, Adrien Louis and Marc Dutoo discuss the differences and relative merits of using orchestration vs. routing in a typical ESB setup, and discuss various implementation options.

Enterprise Batch Processing with Spring

Wayne Lund discusses batch processing, Spring Batch objectives and features, scenarios for usage, Spring Batch architecture, scaling, example code, failures and retrying, and the future roadmap.

User Story Estimation Techniques

Developer Jay Fields draws on his experiences as a ThoughtWorks consultant to describe effective user story estimation techniques.