InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Open Source Troubleshooting for Java

Posted by Craig Wickesser on May 12, 2008

Sections
Process & Practices,
Architecture & Design,
Development
Topics
Software Troubleshooting ,
Java
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:

 

Related Sponsor

In today’s hyper-competitive world, later may be too late to adopt Agile development and this Roadmap for Success will help you get started. Download "Agile Development: A Manager's Roadmap for Success" now!

No comments

Watch Thread Reply

Educational Content

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.

Beauty Is in the Eye of the Beholder

Alex Papadimoulis discusses ugly code, where it comes from, how to avoid it, and how to get rid of it.

Architecting Visa for Massive Scale and Continuous Innovation

John Davies examines Visa’s architecture and shows how enterprises have architected complex integrations incorporating Hadoop, memcached, Ruby on Rails, and others to deliver innovative solutions.

Max Protect: Scalability and Caching at ESPN.com

Sean Comerford unveils ESPN.com’s architecture, what components are used and why, and the current changes the website goes through.

The Seven Deadly Sins of Enterprise Agile Adoption

Are there repeated patterns of failure on Enterprise Agile Enablement efforts? Sanjiv and Arlen discuss Seven Deadly Sins to avoid when adopting Agile in an enterprise.

Questions for an Enterprise Architect

Erik Dörnenburg answers: What is Enterprise and Evolutionary Architecture?, discussing 4 issues: Turning strategy into execution, Ensuring conformance, Where do the architects sit? Buying or building?