RFR: 8351491: Add info from release file to hserr file [v2]

David Holmes dholmes at openjdk.org
Fri Mar 28 12:25:08 UTC 2025


On Wed, 26 Mar 2025 15:11:06 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> The release file of the JDK image contains useful info, for example the SOURCE used to built this image e.g.
>> SOURCE=".:git:21af8c7e7405"
>> Also the MODULES list is probably useful to have.
>> Add this info (or the complete content of the release file) to the hs_err files.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   address Windows issues

I'm not convinced the startup hit is justified - some filesystems are relatively very slow. 

Maybe it should read on demand instead? Though that means more stuff that can't be done during crash handling from a signal context.

I thought build time was an obvious solution as this is data that exists at build time.

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

PR Comment: https://git.openjdk.org/jdk/pull/24244#issuecomment-2761205783


More information about the hotspot-dev mailing list