8047878: [TESTBUG] runtime/memory/ReadFromNoaccessArea.java and runtime/memory/ReserveMemory.java time out on Solaris

Limited heap size to reduce size of core file generated

Reviewed-by: sla, coleenp, dcubed
This commit is contained in:
Christian Tornqvist 2014-06-23 14:51:10 -07:00
parent 5507f2b476
commit 5cfb709349
2 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ public class ReadFromNoaccessArea {
"-XX:+WhiteBoxAPI",
"-XX:+UseCompressedOops",
"-XX:HeapBaseMinAddress=33G",
"-Xmx32m",
DummyClassWithMainTryingToReadFromNoaccessArea.class.getName());
OutputAnalyzer output = new OutputAnalyzer(pb.start());

View File

@ -57,6 +57,7 @@ public class ReserveMemory {
"-XX:+UnlockDiagnosticVMOptions",
"-XX:+WhiteBoxAPI",
"-XX:-TransmitErrorReport",
"-Xmx32m",
"ReserveMemory",
"test");