8223194: runtime/Shutdown/ShutdownTest.java due to "OutOfMemoryError: Java heap too small"
authorcoleenp
Wed, 01 May 2019 20:48:19 -0400
changeset 54676 5b6177741464
parent 54675 4a4bf48f76a4
child 54677 beca9f8524c1
8223194: runtime/Shutdown/ShutdownTest.java due to "OutOfMemoryError: Java heap too small" Summary: Use default memory for the test. Reviewed-by: dholmes, kvn
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<String> 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());