RFR: 8040250: The test test/gc/parallelScavenge/TestDynShrinkHeap.java fails with OOME

Jesper Wilhelmsson jesper.wilhelmsson at oracle.com
Thu May 22 16:46:00 UTC 2014

Looks good!

Dmitry Fazunenko skrev 22/5/14 17:58:
> Hello,
> Would you review a very simple test fix, please.
> Description:
> Test allocated ~1G memory and failed with OOM before any checks.
> The fixed version specifies -Xmx1G and allocates 0.5G.
> The test checks that memory could be decommited, so for the test it's doesn't
> meter how much memory to allocate initially.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8040250
> Webrev: http://cr.openjdk.java.net/~iignatyev/dfazunenko/8040250/webrev.00/
> Testing:
> This is the very simple fix. I tested it locally running jtreg. The test failed
> before fix and passes after.
> Any your comments are very welcome.
> Thanks,
> Dima

More information about the hotspot-gc-dev mailing list