RFR: 8325187: JVMTI GetThreadState says virtual thread is JVMTI_THREAD_STATE_INTERRUPTED when it no longer is [v5]
David Holmes
dholmes at openjdk.org
Fri Mar 8 06:23:56 UTC 2024
On Thu, 7 Mar 2024 08:42:11 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Use of `ObjectLocker` here will introduce a new pinning point for Loom. We have been removing as many uses of `ObjectLocker` as we can. I also think this will need to be moved back to Java code when the pinning currently inherent in calling `Object.wait` is addressed.
>
> Yes, and it may be that once Object.wait is implemented that we can remove the need to propagate the interrupt status (there are some TBDs here).
>
> I think the change here is okay for now but we still have the choice of limiting the change to just JVMTI RawMonitorWait.
Personally I'd prefer to see changes limited to just JVMTI `RawMonitorWait`. That minimises the risk of any unintended consequences from making the change.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18093#discussion_r1517212478
More information about the hotspot-runtime-dev
mailing list