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

Dmitry Fazunenko dmitry.fazunenko at oracle.com
Thu May 22 15:58:59 UTC 2014


Would you review a very simple test fix, please.

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/

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.


More information about the hotspot-gc-dev mailing list