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

Severin Gehwolf sgehwolf at redhat.com
Wed Aug 28 08:21:00 UTC 2019

On Tue, 2019-08-27 at 14:12 +0800, 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.

Nick, this is a duplicate of 8229182. See some findings here:

I've added a comment on the bug as well.


More information about the hotspot-runtime-dev mailing list