The Artima Developer Community
Sponsored Link

Java Buzz Forum
Making Java VM thread-dumps more meaningful

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Vinny Carpenter

Posts: 276
Nickname: vscarpente
Registered: Feb, 2003

Vinny is a Java developer/architect working with Java, J2EE, OO, Linux, OpenSource.
Making Java VM thread-dumps more meaningful Posted: Mar 8, 2004 7:58 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Vinny Carpenter.
Original Post: Making Java VM thread-dumps more meaningful
Feed Title: Vinny Carpenter's Blog
Feed URL: http://www.j2eegeek.com/error.html
Feed Description: Welcome to my blog. I am a total Java geek that lives in Milwaukee, making my living as an architect/developer, spending all my time with Java, J2EE, OO, Linux, and open source. In my spare time, when I am not in front of my computers, I spend every other minute with my other loves: My wife, books, music, guitars, Formula-1 racing and StarGate. Check out my blog @ http://www.j2eegeek.com/blog
Latest Java Buzz Posts
Latest Java Buzz Posts by Vinny Carpenter
Latest Posts From Vinny Carpenter's Blog

Advertisement

BEA's dev2dev has published a great article on thread dumps and tools for making the reading and parsing of them easier. For the uninitiated, thread dumps show the state of all threads at that point in time for any given process including a JVM. In UNIX, sending a process a -3 or -QUIT will generate the thread dump and send it out to system.out. On Windows, you can send a CTRL-BREAK in the DOS Window to generate the thread dump. Thread dumps are really helpful in debugging issues with your application, especially with deadlock issues.

In my blog entry entitled My Love Affair with JRockit, I showed how JRockit has the facility built into it to generate thread-dumps for any running JRockit VM.

In this dev2dev article, the author discusses the idea of taking the hard-to-read thread dumps and then converting them to XML to add some structure. Once the thread-dumps are converted to XML, you can apply a XSL stylesheet to format the XML document into something more readable and meaningful. In the article, the author converts a XML thread-dump into an HTML document and an image (700k). Great read and a great idea.

Read: Making Java VM thread-dumps more meaningful

Topic: From the Clown Desk: "Ring of Fire," Ass Problems Previous Topic   Next Topic Topic: Question Of The Day

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use