On Sat, 2 Jul 2022 03:22:31 GMT, Serguei Spitsyn <[email protected]> wrote:
> Interesting enough that I've found the existing test which already had needed > coverage: ` > test/hotspot/jtreg/serviceability/jvmti/thread/GetThreadState/thrstat03` But > this test was adjusted to adopt to incorrect GetThreadState result for > virtual threads, so I had to fix it now. Strongly speaking, the update of > SelfSuspendDisabledTest is not needed. But I feel it is worth to keep it. This goes to my surprise that we didn't have a test already but you've found it, and found that it should have caught this bug except that it has been changed. Good to find this and I that is the right place to have a unit test for GetThreadState. ------------- PR: https://git.openjdk.org/jdk19/pull/102
