8220704: ZGC: gc tests complain Java heap too small
Reviewed-by: iignatyev, tschatzl
--- a/test/hotspot/jtreg/gc/ArraySize.java Fri Mar 15 09:13:31 2019 -0700
+++ b/test/hotspot/jtreg/gc/ArraySize.java Fri Mar 15 18:59:21 2019 +0100
@@ -25,7 +25,7 @@
* @test
* @bug 4063078
* @summary Allocating a ridiculously large array should not crash the VM
- * @run main/othervm -Xmx32m -Xms32m gc.ArraySize
+ * @run main/othervm -Xmx128m -Xms32m gc.ArraySize
*/
package gc;
--- a/test/hotspot/jtreg/gc/InfiniteList.java Fri Mar 15 09:13:31 2019 -0700
+++ b/test/hotspot/jtreg/gc/InfiniteList.java Fri Mar 15 18:59:21 2019 +0100
@@ -26,7 +26,7 @@
* @bug 4098578
* @summary Check if the VM properly throws OutOfMemoryError
* @author Sheng Liang
- * @run main/othervm -Xmx25M gc.InfiniteList
+ * @run main/othervm -Xmx128m gc.InfiniteList
*/
package gc;