RFR [XS]: 8244500: jtreg test error in test/hotspot/jtreg/containers/docker/TestMemoryAwareness.java

Baesken, Matthias matthias.baesken at sap.com
Wed May 13 08:11:29 UTC 2020


>But according to the comment immediately before your changes:
>
>// in case of warnings like : "Your kernel does not support swap limit 
>capabilities or the cgroup is not mounted. Memory limited without swap."
>// the getTotalSwapSpaceSize does not return the expected result, but 0
>
>we should be returning zero. So this seems to be a bug in the 
>implementation not in the test.

 
Hi David , I think  in case of  "Your kernel does not support swap limit  capabilities   ... "    we just do not get the values
 that are normally expected.
Previously we indeed got "0" .
Probably the comment should be deleted .

Best regards, Matthias


More information about the hotspot-dev mailing list