git: openjdk/jdk: 8312498: Thread::getState and JVM TI GetThreadState should return TIMED_WAITING virtual thread is timed parked

Alan Bateman alanb at openjdk.org
Tue Sep 19 11:00:36 UTC 2023


Changeset: 4461eeb3
Author:    Alan Bateman <alanb at openjdk.org>
Date:      2023-09-19 10:58:12 +0000
URL:       https://git.openjdk.org/jdk/commit/4461eeb31d5ccc89e304329a7dccb9cb130713fc

8312498: Thread::getState and JVM TI GetThreadState should return TIMED_WAITING virtual thread is timed parked

Reviewed-by: sspitsyn, rpressler

! src/hotspot/share/classfile/javaClasses.cpp
! src/hotspot/share/classfile/javaClasses.hpp
! src/java.base/share/classes/java/lang/VirtualThread.java
+ test/hotspot/jtreg/serviceability/jvmti/vthread/GetThreadState/GetThreadStateTest.java
+ test/hotspot/jtreg/serviceability/jvmti/vthread/GetThreadState/libGetThreadStateTest.c
! test/hotspot/jtreg/serviceability/jvmti/vthread/VThreadEventTest/VThreadEventTest.java
! test/jdk/java/lang/Thread/virtual/CustomScheduler.java
! test/jdk/java/lang/Thread/virtual/ThreadAPI.java
! test/jdk/java/lang/Thread/virtual/ThreadBuilders.java
+ test/jdk/java/lang/Thread/virtual/stress/ParkALot.java



More information about the jdk-changes mailing list