From 0216f5de5573180cd2967b50b3fc3311a1bc3863 Mon Sep 17 00:00:00 2001 From: Stefan Karlsson Date: Tue, 16 Jan 2024 14:26:10 +0000 Subject: [PATCH] 8323730: Tweak TestZAllocationStallEvent.java to allocate smaller objects Reviewed-by: aboldtch, sjohanss --- .../jdk/jfr/event/gc/detailed/TestZAllocationStallEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/jdk/jdk/jfr/event/gc/detailed/TestZAllocationStallEvent.java b/test/jdk/jdk/jfr/event/gc/detailed/TestZAllocationStallEvent.java index 7e0cc111733..8977a574a62 100644 --- a/test/jdk/jdk/jfr/event/gc/detailed/TestZAllocationStallEvent.java +++ b/test/jdk/jdk/jfr/event/gc/detailed/TestZAllocationStallEvent.java @@ -56,7 +56,7 @@ public class TestZAllocationStallEvent { // Allocate many large objects quickly, to outrun the GC for (int i = 0; i < 100; i++) { - blackHole(new byte[16 * 1024 * 1024]); + blackHole(new byte[4 * 1024 * 1024]); } recording.stop();