Currently, all output that may be written by a test and recorded in a .jtr file is buffered in memory until the test completes, at which point it is written back to jtreg via to the agent communication stream.
In extreme cases, this means that the output may be lost, if the test is terminated prematurely, such as by a timeout.
It would be better to write to stream instances that are written to jtreg in a more timely manner.
In extreme cases, this means that the output may be lost, if the test is terminated prematurely, such as by a timeout.
It would be better to write to stream instances that are written to jtreg in a more timely manner.
- relates to
-
CODETOOLS-7903441 System.out and System.err messages are missing in jtr file when a test times out in agentvm mode
-
- Resolved
-
-
JDK-8201765 jdk/java/nio/channels/Selector/RacyDeregister.java test timed out
-
- Closed
-