changeset 54676:5b6177741464

8223194: runtime/Shutdown/ShutdownTest.java due to "OutOfMemoryError: Java heap too small" Summary: Use default memory for the test. Reviewed-by: dholmes, kvn
author coleenp
date Wed, 01 May 2019 20:48:19 -0400
parents 4a4bf48f76a4
children beca9f8524c1
files test/hotspot/jtreg/runtime/Shutdown/ShutdownTest.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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());