RFR: 8292541: [Metrics] Reported memory limit may exceed physical machine memory [v7]

Severin Gehwolf sgehwolf at openjdk.org
Fri Aug 26 14:11:58 UTC 2022


On Fri, 26 Aug 2022 14:06:16 GMT, Jonathan Dowland <jdowland at openjdk.org> wrote:

>> When the container memory exceeds the physical host's memory, the Java metrics reporting is wrong.
>> 
>> https://bugs.openjdk.org/browse/JDK-8292541
>> 
>> This is the equivalent core-libs fix for Hotspot's [JDK-8292083](https://bugs.openjdk.org/browse/JDK-8292083)
>> (https://github.com/openjdk/jdk/pull/9880)
>
> Jonathan Dowland has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Pass hostMaxMem to relevant methods as a parameter

OK.

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

Marked as reviewed by sgehwolf (Reviewer).

PR: https://git.openjdk.org/jdk/pull/10017


More information about the core-libs-dev mailing list