8220704: ZGC: gc tests complain Java heap too small
authorjwilhelm
Fri, 15 Mar 2019 18:59:21 +0100
changeset 54149 c61f09122d3b
parent 54148 62e4ada7c4c8
child 54150 5529640c5f67
8220704: ZGC: gc tests complain Java heap too small Reviewed-by: iignatyev, tschatzl
test/hotspot/jtreg/gc/ArraySize.java
test/hotspot/jtreg/gc/InfiniteList.java
--- 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;