RFR: JDK-8325862: set -XX:+ErrorFileToStderr when executing java in containers for some container related jtreg tests
Thomas Stuefe
stuefe at openjdk.org
Fri Feb 16 09:33:55 UTC 2024
On Fri, 16 Feb 2024 09:24:26 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
> This seems OK.
>
> Note that container tests are pretty verbose when it comes to test output. Usually stderr/stdout get capped by jtreg and sent to a file instead. IIUC the use case would be to get hs_err.log files to stderr in case of crashes. However, if the stderr value gets truncated, then you'd be back at square one.
Still quite useful, since the most interesting information are at the top.
That said, the verbatim /proc/pid/maps dumping into hs-err has been bugging me for years. This can cause hs-err files in the GB range if address space is very fragmented. But the Oracle folks really like this feature, so...
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17874#issuecomment-1948037031
More information about the hotspot-runtime-dev
mailing list