I see in JConsole that I still have 2 non daemon threads but I can’t find out which exactly (total number of thread is beyond 30).
Visual VM doesn’t provide such information.
I see in JConsole that I still have 2 non daemon threads but I
Share
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.
Run:
This will dump all the thread of a given Java PID, filter lines with thread names and filter out non-daemon ones.
Remove
-vto print daemon threads only.