Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

[Feature Request] Inspect threads having the same names

Moderators: Vladimir Kondratyev, Anton Katilin

[Feature Request] Inspect threads having the same names

Postby amitmondal » Mon Jun 22, 2020 7:59 am

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.
amitmondal
 
Posts: 13
Joined: Wed May 06, 2020 7:55 pm

Re: [Feature Request] Inspect threads having the same names

Postby Anton Katilin » Mon Jun 22, 2020 3:33 pm

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
Anton Katilin
 
Posts: 5923
Joined: Wed Aug 11, 2004 8:37 am

Re: [Feature Request] Inspect threads having the same names

Postby amitmondal » Tue Jun 23, 2020 7:28 am

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
amitmondal
 
Posts: 13
Joined: Wed May 06, 2020 7:55 pm


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 1 guest

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.