Jetm and synchronized blocks

10 views
Skip to first unread message

Martin Pain

unread,
Dec 15, 2014, 9:06:09 AM12/15/14
to jetm...@googlegroups.com
Is there a way with JETM to measure how long on average threads are waiting on synchronized blocks/methods, to report this as part of the execution time report?

Starting a monitor just before the lock is taken is problematic, as Java can move statements inside a synchronized block, so we can't guarantee it will take the timing point before waiting on the lock.
Reply all
Reply to author
Forward
0 new messages