[jdk8u-dev] RFR: 8292541: [Metrics] Reported memory limit may exceed physical machine memory [v2]

Severin Gehwolf sgehwolf at openjdk.org
Thu Jan 19 13:49:49 UTC 2023


On Fri, 13 Jan 2023 16:44:02 GMT, Jonathan Dowland <jdowland at openjdk.org> wrote:

>> This is a backport of JDK-8292541 to jdk8u-dev as part of cgroups v2 support.
>> 
>> It's not clean: two separate fix ups were needed for 8u which are broken out in separate commits: add the new JNI method name to a mapfile; fully qualify the use of a method name in the test.
>> 
>> the edited test passes for me.
>
> Jonathan Dowland has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Use explicit intermediary variables to avoid overflow on 32bit
>   
>   Thanks Severin Gehwolf for spotting and correcting.

Looks OK to me.

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

Marked as reviewed by sgehwolf (Reviewer).

PR: https://git.openjdk.org/jdk8u-dev/pull/220


More information about the jdk8u-dev mailing list