8047878: [TESTBUG] runtime/memory/ReadFromNoaccessArea.java and runtime/memory/ReserveMemory.java time out on Solaris
authorctornqvi
Mon, 23 Jun 2014 14:51:10 -0700
changeset 25334 aadafa984752
parent 25333 078d0ef28601
child 25335 2557b9b45520
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
hotspot/test/runtime/memory/ReadFromNoaccessArea.java
hotspot/test/runtime/memory/ReserveMemory.java
--- 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");