8323730: Tweak TestZAllocationStallEvent.java to allocate smaller objects
Reviewed-by: aboldtch, sjohanss
This commit is contained in:
parent
21f647310b
commit
0216f5de55
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user