--- old/test/gc/g1/TestEagerReclaimHumongousRegions2.java 2014-07-30 12:11:44.722914275 +0200 +++ new/test/gc/g1/TestEagerReclaimHumongousRegions2.java 2014-07-30 12:11:44.642911961 +0200 @@ -37,6 +37,7 @@ import com.oracle.java.testlibrary.OutputAnalyzer; import com.oracle.java.testlibrary.ProcessTools; +// An object that has a few references to other instances to slow down marking. class ObjectWithSomeRefs { public ObjectWithSomeRefs other1; public ObjectWithSomeRefs other2; @@ -106,6 +107,7 @@ "-Xms128M", "-Xmx128M", "-Xmn2M", + "-XX:G1HeapRegionSize=1M", "-XX:InitiatingHeapOccupancyPercent=0", // Want to have as much as possible initial marks. "-XX:+PrintGC", "-XX:+VerifyAfterGC",