RFR: 8360651: Create OSContainer API for memory limit [v2]

Stefan Johansson sjohanss at openjdk.org
Thu Sep 18 09:40:28 UTC 2025


On Thu, 18 Sep 2025 09:13:45 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> Only `memory_limit_in_bytes()` is being used for the `os::physical_memory()` calculation when in a container. So yes. We should only bump MaxRAMPercentage when that's changed.

Thanks for the clarification, makes sense.

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

PR Comment: https://git.openjdk.org/jdk/pull/26020#issuecomment-3306494180


More information about the hotspot-dev mailing list