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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have written and published an open source tool to answer this question.
Java Live Thread Analyser
I have blogged about the tool here.