On Fri, 21 Nov 2025 09:11:52 GMT, Anton Artemov <[email protected]> wrote:

> is the existing test SuspendWithObjectMonitorWait demonstrating a real-world 
> scenario?

It does not look as such. There could be some motivation to write it however, 
e.g. checking some invariants. At least, it seems this test does not enforce 
any strict rules on the OM implementation and JVMTI events + suspend/resume. :)
New tests do not allow for OM implementation to put `MonitorWaited` event 
notification at a right spot. Otherwise, I would not object against them.

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

PR Comment: https://git.openjdk.org/jdk/pull/27040#issuecomment-3562647847

Reply via email to