RFR: 8361370: runtime/Thread/TestThreadDumpMonitorContention.java fails due to time out on Windows
Stefan Karlsson
stefank at openjdk.org
Fri Aug 22 09:59:51 UTC 2025
On Fri, 22 Aug 2025 08:54:40 GMT, Anton Artemov <duke at openjdk.org> wrote:
> Hi, please consider the following changes:
>
> Jstack streaming output should be disabled in the test as JDK-8354461 suggest.
>
> When disabled, the test does not hang with ZGC enabled.
>
> Tested locally.
test/hotspot/jtreg/runtime/Thread/TestThreadDumpMonitorContention.java line 53:
> 51: final static String JSTACK = JDKToolFinder.getTestJDKTool("jstack");
> 52: final static String PID = Long.toString(ProcessHandle.current().pid());
> 53: final static String DISABLE_STREAMING_OUTPUT = "-J-Djdk.attach.allowStreamingOutput=false";
Would you mind writing a comment here explaining why this is needed for this test?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26895#discussion_r2293272478
More information about the hotspot-runtime-dev
mailing list