changeset 6658:97e0bce5bc53

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
author ctornqvi
date Mon, 23 Jun 2014 14:51:10 -0700
parents 45831d971923
children 74ab5b554535
files test/runtime/memory/ReadFromNoaccessArea.java test/runtime/memory/ReserveMemory.java
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/runtime/memory/ReadFromNoaccessArea.java	Mon Jun 23 06:58:26 2014 -0700
+++ b/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/test/runtime/memory/ReserveMemory.java	Mon Jun 23 06:58:26 2014 -0700
+++ b/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");