RFR: 8351491: Add info from release file to hserr file [v2]
Matthias Baesken
mbaesken at openjdk.org
Wed Apr 2 07:59:21 UTC 2025
On Wed, 2 Apr 2025 02:11:03 GMT, David Holmes <dholmes at openjdk.org> wrote:
>
> > Could we maybe load the release file with a bit of delay to avoid even a small hit on startup performance?
>
> That may be possible: a one-of "periodic task" for the Watcher thread. If it is not loaded by the time we crash (ie when crashing very early) then I don't think its absence will be missed.
That sounds like a good idea. The short period of time where the release file is absent will be most likely fine , it is as you said only for very early crashes.
Do you have a good example of such a one-of periodic task? Seems the current ones are derived from class PeriodicTask but they are repeated as far as I can see.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24244#issuecomment-2771642837
More information about the hotspot-dev
mailing list