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

Questions about YourKit Java Profiler
Post Reply
metaruslan
Posts: 2
Joined: Tue Jul 11, 2017 5:03 pm

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

Post by metaruslan »

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

Post by metaruslan »

Here is the post on stackoverflow with the screenshots:
https://stackoverflow.com/questions/450 ... object-wai
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

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

Post by Anton Katilin »

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
Post Reply