8323730: Tweak TestZAllocationStallEvent.java to allocate smaller objects

Reviewed-by: aboldtch, sjohanss
This commit is contained in:
Stefan Karlsson 2024-01-16 14:26:10 +00:00
parent 21f647310b
commit 0216f5de55

View File

@ -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();