RFR: 8305770: os::Linux::available_memory() should refer MemAvailable in /proc/meminfo

Roberto Castañeda Lozano rcastanedalo at openjdk.org
Thu Apr 27 10:44:27 UTC 2023


On Wed, 26 Apr 2023 14:17:18 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:

> Ok, so how do we implement that? It is better to add that function to os class like os::free_memory()

This option sounds cleaner to me than adding OS-specific code to compilerBroker.cpp.

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

PR Comment: https://git.openjdk.org/jdk/pull/13398#issuecomment-1525415261


More information about the hotspot-runtime-dev mailing list