8234619: ZGC: gc/z/TestSmallHeap.java failure with Out Of Memory
authorpliden
Tue, 26 Nov 2019 11:57:58 +0100
changeset 59267 4444591b3ac0
parent 59265 d9a3bddcffcc
child 59268 611f6bfe7c30
8234619: ZGC: gc/z/TestSmallHeap.java failure with Out Of Memory Reviewed-by: tschatzl, eosterlund
test/hotspot/jtreg/gc/z/TestSmallHeap.java
--- a/test/hotspot/jtreg/gc/z/TestSmallHeap.java	Tue Nov 26 11:13:53 2019 +0530
+++ b/test/hotspot/jtreg/gc/z/TestSmallHeap.java	Tue Nov 26 11:57:58 2019 +0100
@@ -25,7 +25,7 @@
 
 /*
  * @test TestSmallHeap
- * @requires vm.gc.Z & !vm.graal.enabled
+ * @requires vm.gc.Z & !vm.graal.enabled & vm.compMode != "Xcomp"
  * @summary Test ZGC with small heaps
  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -Xlog:gc,gc+init,gc+heap -Xmx8M gc.z.TestSmallHeap
  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -Xlog:gc,gc+init,gc+heap -Xmx16M gc.z.TestSmallHeap