RFR: 8367319: Add os interfaces to get machine and container values separately [v2]

Casper Norrbin cnorrbin at openjdk.org
Wed Oct 8 12:04:18 UTC 2025


On Wed, 8 Oct 2025 04:53:19 GMT, David Holmes <dholmes at openjdk.org> wrote:

> I don't like the naming "machine_" here - yes naming is hard and subjective - these "machine" API's are reporting whatever the operating system is exposing to the process.

I'm open to changing the naming to make it more clear which value is accessed. Could maybe prefix them with `os_` instead. That could however look a bit weird with a double `os::os_`.

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

PR Comment: https://git.openjdk.org/jdk/pull/27646#issuecomment-3381182076


More information about the hotspot-dev mailing list