RFR: JDK-8310066: Improve test coverage for JVMTI GetThreadState on carrier and mounted vthread [v3]
Serguei Spitsyn
sspitsyn at openjdk.org
Thu Jun 29 14:13:59 UTC 2023
On Thu, 29 Jun 2023 04:41:20 GMT, Alex Menkov <amenkov at openjdk.org> wrote:
>> This is follow-up JDK-8307153/JDK-8309612 (JVMTI GetThreadState on carrier should return STATE_WAITING)
>> New test tests GetThreadState for different thread states.
>> The test detected a bug in the implementation, new issue is created: JDK-8310584
>> Corresponding testcases are commented now in the test, fix for JDK-8310584 will uncomment them
>
> Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
>
> spurious wakeups
test/hotspot/jtreg/serviceability/jvmti/vthread/GetThreadStateMountedTest/GetThreadStateMountedTest.java line 41:
> 39: /**
> 40: * The test implements different scenarios to get desired JVMTI thread states.
> 41: * For each scenarios test also checks states after carrier and virtual threads suspend/resume
Nit: `each scenarios` => `each scenario`
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14622#discussion_r1246677973
More information about the serviceability-dev
mailing list