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.

tracking multiple contention points

Moderators: Vladimir Kondratyev, Anton Katilin

tracking multiple contention points

Postby rlarrabee » Tue Oct 23, 2018 3:57 pm

Hi,

I've been a YourKit user in the past and I'm currently with a new company that does not own the product. It the product can help us resolve our current issue I feel assured we would make a purchase. My question is the following:

We have a Java call path that has multiple contentions points (multiple synchronized methods) and our currently solution only show the top contention point and the associated time. Can your product see all the contention points in a Java call path and attribute the blocking time to each of the encountered blocking points?

Thanks,

Rich
rlarrabee
 
Posts: 3
Joined: Tue Mar 22, 2016 8:22 pm

Re: tracking multiple contention points

Postby Anton Katilin » Wed Oct 24, 2018 9:45 am

Hello Rich

Do you mean Monitor profiling?
https://www.yourkit.com/docs/java/help/ ... filing.jsp

Monitor profiling shows points of contention, but it's not possible to automatically find any relation between different contention points without knowing the profiled application's semantics.

If you mean anything else, could you please explain in more detail.

Best regards,
Anton
Anton Katilin
 
Posts: 5719
Joined: Wed Aug 11, 2004 8:37 am

Re: tracking multiple contention points

Postby rlarrabee » Wed Oct 24, 2018 12:47 pm

Hi Anton,

Below is our basic scenario. Where we get a connection to a pool of objects and then add an object to the pool. In this scenario (one thread) will the tool show the contention (or monitor profile information) time for each of these synchronization points?

public final Object getConnection(.........
Pool apool = null;
synchronized (apool = getPool())
.....................

protected final synchronized Pool getPool()
.......
return this.pool

public synchronized void add(T object)
rlarrabee
 
Posts: 3
Joined: Tue Mar 22, 2016 8:22 pm

Re: tracking multiple contention points

Postby Anton Katilin » Thu Oct 25, 2018 8:55 am

Yes, monitor profiling should show you all monitor contention points in your code.
Anton Katilin
 
Posts: 5719
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 18 guests

cron