RFR: 8292386: jvmti/thread/SuspendThread/suspendthrd03 failed with "FAIL: Status is 2"

Leonid Mesnik lmesnik at openjdk.org
Tue Oct 11 18:52:18 UTC 2022


On Tue, 11 Oct 2022 18:28:27 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

> I'm okay with deleting these two files:
> 
> test/hotspot/jtreg/serviceability/jvmti/thread/SuspendThread/suspendthrd03/libsuspendthrd03.cpp test/hotspot/jtreg/serviceability/jvmti/thread/SuspendThread/suspendthrd03/suspendthrd03.java
> 
> but can someone explain why this test was ported/created in the first place?
> 
> And did the Loom project do this with other tests and, if so, why?

The idea was to improve these tests to test virtual threads. However, the suspend/resume have already some coverage in vthread. So these tests remain unchanged. Currently, I think it is needed to remove this test and might be simplify nsk/jvmti original.

-------------

PR: https://git.openjdk.org/jdk/pull/10662


More information about the serviceability-dev mailing list