8209920: runtime/logging/RedefineClasses.java fail with OOME with ZGC
Reviewed-by: pliden
--- 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();
}
}