Skip to content

Commit

Permalink
8323730: Tweak TestZAllocationStallEvent.java to allocate smaller obj…
Browse files Browse the repository at this point in the history
…ects

Reviewed-by: aboldtch, sjohanss
  • Loading branch information
stefank committed Jan 16, 2024
1 parent 21f6473 commit 0216f5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static void main(String[] args) throws Exception {

// 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();
Expand Down

0 comments on commit 0216f5d

Please sign in to comment.