8071335: gc/TestSmallHeap.java throw OOM
Summary: To avoid OOME, do not run with -Xcomp
Reviewed-by: brutisso, tschatzl
--- a/hotspot/test/gc/TestSmallHeap.java Tue Mar 03 13:25:23 2015 +0000
+++ b/hotspot/test/gc/TestSmallHeap.java Mon Mar 02 16:19:59 2015 +0100
@@ -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