# HG changeset patch # User coleenp # Date 1556758099 14400 # Node ID 5b61777414644af09289a8f997f7b1c65c12f194 # Parent 4a4bf48f76a4080c7b8451c5e2d3530d68c27999 8223194: runtime/Shutdown/ShutdownTest.java due to "OutOfMemoryError: Java heap too small" Summary: Use default memory for the test. Reviewed-by: dholmes, kvn diff -r 4a4bf48f76a4 -r 5b6177741464 test/hotspot/jtreg/runtime/Shutdown/ShutdownTest.java --- a/test/hotspot/jtreg/runtime/Shutdown/ShutdownTest.java Thu May 02 03:20:32 2019 +0200 +++ b/test/hotspot/jtreg/runtime/Shutdown/ShutdownTest.java Wed May 01 20:48:19 2019 -0400 @@ -78,8 +78,8 @@ public static void main(String[] args) throws Throwable { List options = new ArrayList<>(); + // To reproduce original bug you may need this option: "-Xmx2500k", Collections.addAll(options, - "-Xmx2500k", "-XX:+UnlockDiagnosticVMOptions", "-XX:+VerifyBeforeExit"); options.add(ShutdownTestThread.class.getName());