How do I write a analyzable thread dump format
- by gamue
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?