[jdk21u-dev] RFR: 8325187: JVMTI GetThreadState says virtual thread is JVMTI_THREAD_STATE_INTERRUPTED when it no longer is
Paul Hohensee
phh at openjdk.org
Tue Apr 22 21:38:43 UTC 2025
On Tue, 22 Apr 2025 16:34:18 GMT, Satyen Subramaniam <ssubramaniam at openjdk.org> wrote:
> Backporting JDK-8325187: JVMTI GetThreadState says virtual thread is JVMTI_THREAD_STATE_INTERRUPTED when it no longer is. Patch pivots from using the `jt->is_interrupted(true)` to update the interrupt status of the interrupted waiting thread, to a new `jt->get_and_clear_interrupted()` which correctly propagates the interrupt status. Ran GHA Sanity Checks, local Tier 1 and 2, and new `hotspot/jtreg/serviceability/jvmti/vthread/InterruptRawMonitor` tests. Patch is clean.
Looks clean.
-------------
Marked as reviewed by phh (Reviewer).
PR Review: https://git.openjdk.org/jdk21u-dev/pull/1690#pullrequestreview-2785440719
More information about the jdk-updates-dev
mailing list