RFR: 8351491: Add info from release file to hserr file [v2]
Matthias Baesken
mbaesken at openjdk.org
Tue Apr 1 14:03:36 UTC 2025
On Mon, 31 Mar 2025 13:49:46 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
>> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>>
>> address Windows issues
>
> How problematic would it be to read it on demand? Is it just that there is a risk that it won't work, or could it cause the crash dumping process to fail completely?
> @magicus like so many things in the crash reporting process, when in a signal handling context, it could lead to a secondary fault, or it could deadlock, or it might work.
I thought we read already some stuff from e.g. /proc while printing the hserr file, but you are right it is better to avoid reading files while doing the hserr reporting.
Could we maybe load the release file with a bit of delay to avoid even a small hit on startup performance?
is there already some task/thread doing such delayed operations ?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24244#issuecomment-2769463699
More information about the hotspot-dev
mailing list