RFR: 8366659: ObjectMonitor::wait() liveness problem with a suspension request [v31]
Serguei Spitsyn
sspitsyn at openjdk.org
Mon Jan 26 23:59:41 UTC 2026
On Mon, 26 Jan 2026 14:38:40 GMT, Anton Artemov <aartemov at openjdk.org> wrote:
> @sspitsyn could you clarify if it is technically possible to have more than one suspension request for a thread at any given time?
It is not possible to have multiple suspend requests for a thread at any given time. There can be attempts to do so but they are sorted out at JVMTI calls level. But if I understand correctly, David is saying about something like this sequence:
- suspend 1, resume 1, suspend 2
I'll read it more carefully and provide update if needed.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27040#discussion_r2729724632
More information about the hotspot-runtime-dev
mailing list