8071335: gc/TestSmallHeap.java throw OOM
authorjwilhelm
Mon, 02 Mar 2015 16:19:59 +0100
changeset 29329 f5f2909aad62
parent 29328 1fbad8108907
child 29330 8eddda51cd29
8071335: gc/TestSmallHeap.java throw OOM Summary: To avoid OOME, do not run with -Xcomp Reviewed-by: brutisso, tschatzl
hotspot/test/gc/TestSmallHeap.java
--- 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