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

WALL TIME is probably measured incorrectly for Object.wait()

Moderators: Vladimir Kondratyev, Anton Katilin

WALL TIME is probably measured incorrectly for Object.wait()

Postby metaruslan » Tue Jul 11, 2017 5:19 pm

Hi guys,

The initial problem I'm trying to solve is to see the wall times portions of all subcalls of a method across many threads. But I replicated my problem with a tiny application where I have a thread that executes one method that is mostly waiting as expected. The problem is that when I go to "Method list" -> My Method->Merged Callees - it shows the subcall that "waits" as 0-1% of the total time of my method. And I have configured my sampling to do wall times for all methods. I'm going to send a follow-up email with the snapshot and the screenshots of my problem as it is impossible to attach those here in the forum.

Thanks
metaruslan
 
Posts: 2
Joined: Tue Jul 11, 2017 5:03 pm

Re: WALL TIME is probably measured incorrectly for Object.wa

Postby metaruslan » Wed Jul 12, 2017 10:09 am

Here is the post on stackoverflow with the screenshots:
https://stackoverflow.com/questions/450 ... object-wai
metaruslan
 
Posts: 2
Joined: Tue Jul 11, 2017 5:03 pm

Re: WALL TIME is probably measured incorrectly for Object.wa

Postby Anton Katilin » Wed Jul 12, 2017 10:52 am

Hi,

Please try adding the following line to <user home>/.yjp/ui.ini then restart the profiler UI and reopen the snapshot:

-Dyjp.zero.time.methods=false

Does this help?

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


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 11 guests

cron