RFR: 8308751: Create new switch to print error reporting output to both hs_err_pid file and stdout/stderr
David Holmes
dholmes at openjdk.org
Tue Jun 6 16:28:16 UTC 2023
On Wed, 24 May 2023 08:15:29 GMT, Masanori Yano <myano at openjdk.org> wrote:
> I think it makes sense to add the ErrorFileWithStdout and ErrorFileWithStderr for troubleshooting.
> I would appriciate if someone could review it.
I have my doubts about the usefulness of this. The hs_err content can be very large (and only gets bigger over time) and can easily overwhelm any observed "screen". If stdout and stderr are being captured by another utility, such as jtreg when running tests, then again we can easily hit buffer limits and actually lose useful information in the captured log file for stdout/stderr.
While the implementation is relatively simple I do not like adding yet another pair of flags in this area - and a CSR request is needed to do this.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14114#issuecomment-1562126987
More information about the hotspot-dev
mailing list