RFR: 8320699: Add parameter to skip progress logging of OutputAnalyzer

Stefan Karlsson stefank at openjdk.org
Mon Nov 27 09:09:06 UTC 2023


On Fri, 24 Nov 2023 17:01:29 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Hello Stefan, I agree with David that I have found these logs to be useful - it shows that process launched by the test hasn't yet finished and is being waited upon. The log message when written will have a timestamp and can then also help to quickly understand how long it could have taken for this process to complete.

The test were I want to use this is a long-running stress test that is known to be good at shaking out JVM hangs. It has been written to provide its own output about spawned processes and what they are doing, and have that info written to appropriate files. For me, the OutputAnalyzer logging just adds redundant output to the streams where I don't want the information.

When we do have JVM hangs in these larger tests it's usually is easier to look at the output generated from [test/failure_handler](https://github.com/openjdk/jdk/tree/master/test/failure_handler).

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

PR Comment: https://git.openjdk.org/jdk/pull/16807#issuecomment-1827410018


More information about the core-libs-dev mailing list