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

Severin Gehwolf sgehwolf at openjdk.org
Thu Aug 25 16:15:53 UTC 2022


On Thu, 25 Aug 2022 16:08:11 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 two additional commits since the last revision:
> 
>  - use pre-defined constant over magic number
>  - Address style nits

Looks good.

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

Marked as reviewed by sgehwolf (Reviewer).

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


More information about the core-libs-dev mailing list