RFR: 8367485: os::physical_memory is broken in 32-bit JVMs when running on 64-bit OSes

Anton Artemov duke at openjdk.org
Wed Sep 17 09:55:27 UTC 2025


On Wed, 17 Sep 2025 08:50:31 GMT, Andrew Haley <aph at openjdk.org> wrote:

> Wouldn't it be better effectively to restore the status quo ante, albeit with a standard type such as `uint64_t`?

Do you think that all memory functions should return `uint64_t` then, not only `physical_memory()`?

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

PR Comment: https://git.openjdk.org/jdk/pull/27335#issuecomment-3302016434


More information about the hotspot-runtime-dev mailing list