changeset 52279:f23312250f25

8209920: runtime/logging/RedefineClasses.java fail with OOME with ZGC Reviewed-by: pliden
author lmesnik
date Mon, 27 Aug 2018 12:45:31 -0700
parents c70a01619679
children a5d47d1b2a74
files test/hotspot/jtreg/runtime/logging/RedefineClasses.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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();
         }
     }