RFR(XS): 8194232: Container memory not properly recognized.
Doerr, Martin
martin.doerr at sap.com
Wed Dec 27 11:09:50 UTC 2017
Hi Götz,
thanks for fixing it.
I wonder if 4 zeroes will be sufficient on all linux distros in the long run. Does anything speak against using e.g. 8 zeroes?
Best regards,
Martin
-----Original Message-----
From: hotspot-runtime-dev [mailto:hotspot-runtime-dev-bounces at openjdk.java.net] On Behalf Of Lindenmaier, Goetz
Sent: Mittwoch, 27. Dezember 2017 11:38
To: hotspot-runtime-dev at openjdk.java.net
Subject: RFR(XS): 8194232: Container memory not properly recognized.
Hi
Please review and sponsor this tiny fix. It needs to go to jdk10.
http://cr.openjdk.java.net/~goetz/wr17/8194232-ppcle_unlimited/webrev.01/
TestAggressiveHeap.java fails because the container recognition
misinterprets the available memory size. On SLES 12.1 ppc64le,
GET_CONTAINER_INFO() sets memlimit to 0x7FFFFFFFFFFF0000. This
is compared to UNLIMITED_MEM == 0x7FFFFFFFFFFFF000, making
the VM believe memory is _not_ unlimited.
Best regards,
Goetz.
More information about the hotspot-runtime-dev
mailing list