On Sun, 15 Dec 2024 21:18:44 GMT, David Holmes <dhol...@openjdk.org> wrote:

> So to be clear ... you want one pinned event, the duration of which spans the 
> wait and the monitor reentry. If we are pinned for the wait then we must be 
> pinned for the reentry for the same reason, so no need to report the same 
> thing twice.

Right, and also it would be confusing to have a "contended monitor enter" event 
recorded with Object.wait as the top frame in the stack trace.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/22718#issuecomment-2544797149

Reply via email to