# HG changeset patch # User pliden # Date 1574765878 -3600 # Node ID 4444591b3ac0a3523b24a084b610b2eeef8c0c35 # Parent d9a3bddcffccd5597301c6d8f0e466962e3071d6 8234619: ZGC: gc/z/TestSmallHeap.java failure with Out Of Memory Reviewed-by: tschatzl, eosterlund diff -r d9a3bddcffcc -r 4444591b3ac0 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