RFR: 8305770: os::Linux::available_memory() should refer MemAvailable in /proc/meminfo [v2]
Severin Gehwolf
sgehwolf at openjdk.org
Wed May 10 08:24:18 UTC 2023
On Tue, 9 May 2023 04:37:41 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:
>> Yes some detailed commentary is very necessary. It looks very odd to have two functions that do the same thing on every platform but Linux.
>
> I added comments into os_linux.hpp . I will move them to os.hpp .
> https://github.com/openjdk/jdk/pull/13398/files#diff-b6c4026228694834053813a8a8ea4795b5edb29eeb9cc46cd234c8e3b92336f4R61-R64
This looks fine to me.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13398#discussion_r1189528184
More information about the hotspot-compiler-dev
mailing list