Integrated: JDK-8310584: GetThreadState reports blocked and runnable for pinned suspended virtual threads
Alex Menkov
amenkov at openjdk.org
Tue Jul 18 20:19:49 UTC 2023
On Thu, 13 Jul 2023 19:18:38 GMT, Alex Menkov <amenkov at openjdk.org> wrote:
> The change fixes handling of "suspended" bit in VT state.
> The code looks very strange.
> java_lang_VirtualThread::RUNNING == 3, so line 803 clears JVMTI_THREAD_STATE_ALIVE(1) and JVMTI_THREAD_STATE_TERMINATED(2)
> Per log this code came from loom repo with VT integration.
>
> Testing: tier1-4, updated GetThreadStateMountedTest.java
This pull request has now been integrated.
Changeset: af5bf817
Author: Alex Menkov <amenkov at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/af5bf81754072fa5879726cfacb7404892b553f0
Stats: 10 lines in 2 files changed: 2 ins; 2 del; 6 mod
8310584: GetThreadState reports blocked and runnable for pinned suspended virtual threads
Reviewed-by: sspitsyn, dholmes
-------------
PR: https://git.openjdk.org/jdk/pull/14878
More information about the serviceability-dev
mailing list