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

Andrew Haley aph at openjdk.org
Thu Sep 25 13:06:50 UTC 2025


On Sat, 20 Sep 2025 07:21:17 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> `size_t` carries a meaning: it is generally understood to be a measurement for a memory size,

Strictly speaking, the size of the largest teoretically possible object.

> We now have a distinction between reported memory size and size of memory the process can address

Now? I'm old enough to remember when this was true on most PCs and minis. What goes around, comes around again. 😀

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

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


More information about the hotspot-dev mailing list