RFR: 8333522: JFR SwapSpace event might read wrong free swap space size
Matthias Baesken
mbaesken at openjdk.org
Thu Jun 6 12:25:44 UTC 2024
On Thu, 6 Jun 2024 09:57:10 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
> I see that if `sysinfo()` fails the return value might be negative. Should we account for that?
There are a number of places where sysinfo return value check is omitted. I see 3 places in os_linux.cpp alone. probably it would be better to check this, but I am not sure why it was omitted and how often those failures occur in practise .
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19574#issuecomment-2152273754
More information about the hotspot-runtime-dev
mailing list