RFR(XS): 8229968: [TESTBUG] containers/docker/TestMemoryAwareness fails with -Xmx

Mikhailo Seledtsov mikhailo.seledtsov at oracle.com
Tue Aug 27 20:56:32 UTC 2019

This looks similar to a discussion on hotspot-dev at openjdk.java.net.
Please see: "8229182: runtime/containers/docker/TestMemoryAwareness.java 
test fails on SLES12"

Thank you,

On 8/26/19, 11:12 PM, Nick Gasson wrote:
> Hi,
> Please review this small change to one of the Docker tests:
> Bug: https://bugs.openjdk.java.net/browse/JDK-8229968
> Webrev: http://cr.openjdk.java.net/~ngasson/8229968/webrev.0/
> The testOOM part of this test fails if jtreg is run with an -Xmx option
> as this will override the ergonomic heap sizing. (E.g. `make test
> JTREG="MAX_MEM=768m"`). Simple fix is to use the existing mechanism to
> ignore java options from the test environment when starting the process
> inside the container.
> Thanks,
> Nick

More information about the hotspot-runtime-dev mailing list