RFR: JDK-8326496: [test] checkHsErrFileContent support printing hserr in error case [v3]

David Holmes dholmes at openjdk.org
Thu Feb 29 06:47:52 UTC 2024


On Fri, 23 Feb 2024 12:37:06 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> checkHsErrFileContent checks hs error files for existance and non-existance of some user provided patterns. However it should also have an option to print the hs_err file in case of a failing check, this would make error analysis easier.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   adjust doc of verbose param

I remain concerned that printing the hs_err file within the log file may actually cause more problems than it fixes. Test environments should gather up all test artifacts for examination upon failure so the actual hs_err file should be available IMO. But if you think you need this ...

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

PR Comment: https://git.openjdk.org/jdk/pull/17978#issuecomment-1970507468


More information about the hotspot-runtime-dev mailing list