How do I write a analyzable thread dump format

Posted by gamue on Stack Overflow See other posts from Stack Overflow or by gamue
Published on 2010-03-16T08:55:29Z Indexed on 2010/03/16 9:46 UTC
Read the original article Hit count: 332

Filed under:
|
|
|
|

I'm creating a global exception handling which collects some information before shutting down in some cases. One of this information is the current thread dump. i do this with following code:

ManagementFactory.getThreadMXBean().dumpAllThreads(true, true);

The problem is to write the information into a analyzable format for TDA. Is there a "simple" way to format the information instead of writing the format on my own?

© Stack Overflow or respective owner

Related posts about java

Related posts about thread