8047878: [TESTBUG] runtime/memory/ReadFromNoaccessArea.java and runtime/memory/ReserveMemory.java time out on Solaris
Summary: Limited heap size to reduce size of core file generated
Reviewed-by: sla, coleenp, dcubed
--- a/hotspot/test/runtime/memory/ReadFromNoaccessArea.java Mon Jun 23 06:58:26 2014 -0700
+++ b/hotspot/test/runtime/memory/ReadFromNoaccessArea.java Mon Jun 23 14:51:10 2014 -0700
@@ -47,6 +47,7 @@
"-XX:+WhiteBoxAPI",
"-XX:+UseCompressedOops",
"-XX:HeapBaseMinAddress=33G",
+ "-Xmx32m",
DummyClassWithMainTryingToReadFromNoaccessArea.class.getName());
OutputAnalyzer output = new OutputAnalyzer(pb.start());
--- a/hotspot/test/runtime/memory/ReserveMemory.java Mon Jun 23 06:58:26 2014 -0700
+++ b/hotspot/test/runtime/memory/ReserveMemory.java Mon Jun 23 14:51:10 2014 -0700
@@ -57,6 +57,7 @@
"-XX:+UnlockDiagnosticVMOptions",
"-XX:+WhiteBoxAPI",
"-XX:-TransmitErrorReport",
+ "-Xmx32m",
"ReserveMemory",
"test");