RFR: 8367485: os::physical_memory is broken in 32-bit JVMs when running on 64-bit OSes [v11]
Anton Artemov
duke at openjdk.org
Thu Sep 25 09:53:36 UTC 2025
On Thu, 25 Sep 2025 09:23:40 GMT, Anton Artemov <duke at openjdk.org> wrote:
>> src/hotspot/os/aix/os_aix.cpp line 2195:
>>
>>> 2193:
>>> 2194: trcVerbose("processor count: %d", os::_processor_count);
>>> 2195: trcVerbose("physical memory: " UINT64_FORMAT, Aix::_physical_memory);
>>
>> Should there be a `PHYS_MEM_TYPE_FORMAT` define as well. In case the format needs changing from `UINT64_FORMAT`?
>
> Good catch, let me add it.
Added.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27335#discussion_r2378474601
More information about the hotspot-dev
mailing list