Skip to content


8298341: Ensure heap growth in
Browse files Browse the repository at this point in the history
Reviewed-by: egahlin, stuefe
  • Loading branch information
kstefanj committed Dec 8, 2022
1 parent 1166c8e commit 46cd457
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,15 @@ private static void generateEvents(Recording recording) throws Exception {
// Generate data to force heap to grow.

// To allow the two usage events to share a single NMTUsage snapshot
// there is an AgeThreshold set to 50ms and if the two events occur
// within this interval they will use the same snapshot. On fast
// machines it is possible that the whole heap contents generation
// take less than 50ms and therefor both beginChunk end endChunk
// events will use the same NMTUsage snapshot. To avoid this, do
// a short sleep.


Expand Down

1 comment on commit 46cd457

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.