RFR: JDK-8326496: [test] checkHsErrFileContent support printing hserr in error case [v3]
Matthias Baesken
mbaesken at openjdk.org
Tue Feb 27 16:37:53 UTC 2024
On Mon, 26 Feb 2024 06:27:06 GMT, David Holmes <dholmes at openjdk.org> wrote:
> Sorry I'm struggling to understand under exactly what conditions the hs_err file will now be printed.
It will be printed in case the checkHsErrFileContent fails, So we do not have to set 'verbose' and print the content always (because in the successful case it is not really needed) but only in failure case.
> Can you give some concrete examples, and why you want to print a potentially very large file as part of the tests main output (which may overflow the jtreg output buffer). Thanks
I want to print it to see what was wrong with the hserr file content. Especially in the SecondaryErrorTest we had errors where we missed the hserr content to look WHAT exactly was really bad/failing.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17978#issuecomment-1967011713
More information about the hotspot-runtime-dev
mailing list