8071335: gc/TestSmallHeap.java throw OOM

To avoid OOME, do not run with -Xcomp

Reviewed-by: brutisso, tschatzl
This commit is contained in:
Jesper Wilhelmsson 2015-03-02 16:19:59 +01:00
parent 77fc522153
commit 8107130954

@ -26,6 +26,7 @@
* @bug 8067438
* @requires vm.gc=="null"
* @requires (vm.opt.AggressiveOpts=="null") | (vm.opt.AggressiveOpts=="false")
* @requires vm.compMode != "Xcomp"
* @summary Verify that starting the VM with a small heap works
* @library /testlibrary /../../test/lib
* @build TestSmallHeap