[jdk8u-dev] RFR: 8292541: [Metrics] Reported memory limit may exceed physical machine memory
Jonathan Dowland
jdowland at openjdk.org
Tue Jan 3 11:53:32 UTC 2023
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.
-------------
Commit messages:
- adjust test to scope assertNotNull
- add Java_jdk_internal_platform_CgroupMetrics_getTotalMemorySize0 to linux mapfile
- 8292541: [Metrics] Reported memory limit may exceed physical machine memory
Changes: https://git.openjdk.org/jdk8u-dev/pull/220/files
Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=220&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8292541
Stats: 62 lines in 4 files changed: 46 ins; 9 del; 7 mod
Patch: https://git.openjdk.org/jdk8u-dev/pull/220.diff
Fetch: git fetch https://git.openjdk.org/jdk8u-dev pull/220/head:pull/220
PR: https://git.openjdk.org/jdk8u-dev/pull/220
More information about the jdk8u-dev
mailing list