RFR: 8366659: ObjectMonitor::wait() liveness problem with a suspension request [v26]

David Holmes dholmes at openjdk.org
Wed Jan 21 05:30:45 UTC 2026


On Wed, 21 Jan 2026 05:23:14 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> I think we will have to add it as a branch condition since the event could have been enabled after notification.
>
> If the event can be enabled (and disabled?) dynamically then that changes a lot! We can't use the event state as a proxy for TS_RUN state (nor vice-versa).

And the notification code would have to assume that the event will be enabled.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27040#discussion_r2711019472


More information about the hotspot-runtime-dev mailing list