RFR: 8359104: gc/TestAlwaysPreTouchBehavior.java#<gcname> fails on Linux

Andreas Steiner asteiner at openjdk.org
Thu Sep 11 06:50:12 UTC 2025


On Wed, 10 Sep 2025 14:44:27 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> we use `size = info.rss * K;` for the calculation in `os::rss()` . But `os::Linux::query_accurate_process_memory_info ` returns true just in case the file could be opened , probably should we better check in a more detailed way e.g. at least that rss was found in /proc ?

Thanks for the hint. I extended the check.

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

PR Comment: https://git.openjdk.org/jdk/pull/27192#issuecomment-3278527717


More information about the hotspot-dev mailing list