Integrated: 7904126: PrintWriter(s) used by jtreg for agent logging aren't using autoFlush

Jaikiran Pai jpai at openjdk.org
Wed Jan 7 11:31:59 UTC 2026


On Tue, 6 Jan 2026 05:27:48 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Can I please get a review of this change which addresses the issue noted in https://bugs.openjdk.org/browse/CODETOOLS-7904126? 
> 
> With this change the logs written out to agent.trace and agentServer.<id>.trace should now have these log message more promptly written out and thus help debug and unexpected test failures. Furthermore, the explicit flush() that was done in https://bugs.openjdk.org/browse/CODETOOLS-7903470 has now been replaced with the use of this autoFlush=true to avoid having to explicitly flush() at any call sites where the logger is used to write out the logs.
> 
> Given the nature of the change no new self tests have been introduced.

This pull request has now been integrated.

Changeset: 328147bd
Author:    Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jtreg/commit/328147bd1f6e188102a5c3ba9541dc1cd383220f
Stats:     6 lines in 2 files changed: 0 ins; 1 del; 5 mod

7904126: PrintWriter(s) used by jtreg for agent logging aren't using autoFlush

Reviewed-by: cstein

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

PR: https://git.openjdk.org/jtreg/pull/305


More information about the jtreg-dev mailing list