RFR: 8333522: JFR SwapSpace event might read wrong free swap space size [v3]

Severin Gehwolf sgehwolf at openjdk.org
Fri Jun 7 11:55:14 UTC 2024


On Fri, 7 Jun 2024 10:48:53 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> > Feel free to do that. In a separate PR/bug though.
> 
> Thinking more about the potentially failing sysinfo - could it be that we get in this case an uninitialized sysinfo struct and just happily use the values from there ? For example here https://github.com/openjdk/jdk/blob/master/src/hotspot/os/linux/os_linux.cpp#L287

Yes. Seems so.

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

PR Comment: https://git.openjdk.org/jdk/pull/19574#issuecomment-2154680062


More information about the hotspot-runtime-dev mailing list