RFR: 8361370: runtime/Thread/TestThreadDumpMonitorContention.java fails due to time out on Windows [v2]

Anton Artemov duke at openjdk.org
Fri Aug 22 11:07:17 UTC 2025


On Fri, 22 Aug 2025 09:56:59 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

>> Anton Artemov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8361370: Added explanatory comment.
>
> 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?

Added a comment as suggested.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26895#discussion_r2293423945


More information about the hotspot-runtime-dev mailing list