Tracking Java thread creation and lifetime
java, multithreading
Solution
I have written and published an open source tool to answer this question.
Java Live Thread Analyser
I have blogged about the tool here.
Problem
Are there any tools available to track the creation and lifetime of Java threads? I would be interested in all of the following: - The call stack which called new Thread() - The call stack which called start() - The lifetime of the run() method