On Thu, 25 Aug 2022 12:35:13 GMT, Jonathan Dowland <jdowl...@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:
> 
>   Address nit
>   
>   Thanks Thomas Stuefe

test/hotspot/jtreg/containers/docker/TestMemoryAwareness.java line 53:

> 51:         DockerRunOptions opts = Common.newOpts(imageName);
> 52:         String goodMem = Common.run(opts).firstMatch("total physical 
> memory: (\\d+)", 1);
> 53:         assertNotNull(goodMem, "no match for 'total physical memory' in 
> trace output");

I've just realised this will not match (yet) since the relevant log line is 
added in #9880 .

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

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

Reply via email to