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.

This pull request has now been integrated.

Changeset: 51de7658
Author:    Chris Plummer <cjplum...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/51de765867d4d44fc2e2953a0296ca6804135d89
Stats:     13 lines in 1 file changed: 8 ins; 0 del; 5 mod

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

Reviewed-by: amenkov

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

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

Reply via email to