RFR: 8283010: serviceability/sa/ClhsdbThread.java failed with "'Base of Stack:' missing from stdout/stderr "

Chris Plummer cjplummer at openjdk.org
Wed Sep 7 21:52:44 UTC 2022


On Tue, 6 Sep 2022 19:26:09 GMT, Chris Plummer <cjplummer at 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.

Thanks Alex!

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

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


More information about the serviceability-dev mailing list