Sometimes, it Is quite useful to find threads having the same names as it might indicate some hidden problems. For example, having same names means the threads are probably working on same stuffs but one of them is zombie since it should have been interrupted but due to programming mistake, it is probably not interrupted properly which could lead to memory leaks.
Sometimes, it could also indicate that even though different threads are working on different stuffs, they have been named the same which leads to confusion and hence, it might indicate that the the threads should be named differently for better comprehension of the system.
[Feature Request] Inspect threads having the same names
-
- Posts: 13
- Joined: Wed May 06, 2020 7:55 pm
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: [Feature Request] Inspect threads having the same names
I believe that the inspection "Threads with non-unique names" under the "Threads" node in the "Inspections" tab does that.
It is an event inspection, not a memory inspection:
https://www.yourkit.com/docs/java/help/ ... ctions.jsp
It is an event inspection, not a memory inspection:
https://www.yourkit.com/docs/java/help/ ... ctions.jsp
-
- Posts: 13
- Joined: Wed May 06, 2020 7:55 pm
Re: [Feature Request] Inspect threads having the same names
Hi Anton,
Thanks for your quick reply. Yeah, you are right. I missed it from the inspections tab and it truly works like a charm.
Thanks a lot again.
Best Regards,
Amit
Thanks for your quick reply. Yeah, you are right. I missed it from the inspections tab and it truly works like a charm.
Thanks a lot again.
Best Regards,
Amit