RFR: 8351491: Add info from release file to hserr file [v3]
Thomas Stuefe
stuefe at openjdk.org
Fri Apr 4 13:18:01 UTC 2025
On Fri, 4 Apr 2025 09:10:00 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:
> > Again, why not avoid these issues when there is a simple way to do so?
>
> I'm not sure the proposal is simple. There seems to be a race-condition between this new periodic task and the and `jcmd VM.info`. I'm not sure what happens if these two runs at the same time. This can probably be fixed by appropriate synchronization, but that sort-of shows that maybe this isn't a simple solution.
The same race exists when printing the hs-err file. But at least we have a step crash protection there; with VM.info, we crash the JVM.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24244#issuecomment-2778705984
More information about the hotspot-dev
mailing list