8209920: runtime/logging/RedefineClasses.java fail with OOME with ZGC
authorlmesnik
Mon, 27 Aug 2018 12:45:31 -0700
changeset 51536 f23312250f25
parent 51535 c70a01619679
child 51537 a5d47d1b2a74
child 56870 6668bbc41155
8209920: runtime/logging/RedefineClasses.java fail with OOME with ZGC Reviewed-by: pliden
test/hotspot/jtreg/runtime/logging/RedefineClasses.java
--- a/test/hotspot/jtreg/runtime/logging/RedefineClasses.java	Mon Aug 27 03:46:44 2018 -0700
+++ b/test/hotspot/jtreg/runtime/logging/RedefineClasses.java	Mon Aug 27 12:45:31 2018 -0700
@@ -53,7 +53,7 @@
         RedefineClassHelper.redefineClass(RedefineClasses_B.class, newB);
         RedefineClasses_B.test();
         for (int i = 0; i < 20 ; i++) {
-            obj[i] = new byte[10 * 1024 * 1024];
+            obj[i] = new byte[1024 * 1024];
             System.gc();
         }
     }