RFR: 8325187: JVMTI GetThreadState says virtual thread is JVMTI_THREAD_STATE_INTERRUPTED when it no longer is [v12]
Serguei Spitsyn
sspitsyn at openjdk.org
Mon Mar 18 11:14:27 UTC 2024
On Mon, 18 Mar 2024 02:23:44 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Serguei Spitsyn has updated the pull request incrementally with one additional commit since the last revision:
>>
>> review: made current changes limitedto just RawMonitorWait
>
> src/hotspot/share/runtime/javaThread.cpp line 595:
>
>> 593:
>> 594: // Checks and clears the interrupt status for platform or virtual thread.
>> 595: // Used by the JVMTI RawMonitorWait only.
>
> Or more strongly:
>
> // This is only for use by JVMTI RawMonitorWait. It emulates the actions of the Java code in Object::wait
> // which are not present in RawMonitorWait.
Good suggestion, thanks. Will make an update.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18093#discussion_r1528337516
More information about the serviceability-dev
mailing list