On Tue, 6 Sep 2022 19:26:09 GMT, Chris Plummer <cjplum...@openjdk.org> wrote:
> Each time you attach to a target JVM on Windows, thread Id's can change > (although they rarely do). For this reason you can't reliably do what this > test is doing, which is attach, run jstack to get the threadId of a thread, > detach, attach again and run the `thread` command using the threadId. It > might not be valid any more. For this reason I am changing the test to ignore > the result of the `thread` command when running on windows. This is the same > fix as was done for [JDK-8280770](https://bugs.openjdk.org/browse/JDK-8280770) > > I'd like to push this as a trivial change. I agree that this may be considered as a trivial change ------------- Marked as reviewed by amenkov (Reviewer). PR: https://git.openjdk.org/jdk/pull/10185