8203183: vmTestbase/vm/mlvm/anonloader/stress/oome/heap/Test.java times out
Summary: Limit the heap size so the OOM happens sooner.
Reviewed-by: kbarrett, coleenp
--- a/test/hotspot/jtreg/vmTestbase/vm/mlvm/anonloader/stress/oome/heap/Test.java Thu May 24 20:34:17 2018 +0530
+++ b/test/hotspot/jtreg/vmTestbase/vm/mlvm/anonloader/stress/oome/heap/Test.java Thu May 24 13:04:33 2018 -0400
@@ -37,7 +37,7 @@
* @build vm.mlvm.anonloader.stress.oome.heap.Test
* @run driver vm.mlvm.share.IndifiedClassesBuilder
*
- * @run main/othervm -XX:-UseGCOverheadLimit vm.mlvm.anonloader.stress.oome.heap.Test
+ * @run main/othervm -XX:-UseGCOverheadLimit -Xmx128m vm.mlvm.anonloader.stress.oome.heap.Test
*/
package vm.mlvm.anonloader.stress.oome.heap;