Skip to content

Commit 19a2969

Browse files
committed
higher ratio of gen0
1 parent 202a401 commit 19a2969

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/coreclr/gc/gc.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49322,10 +49322,10 @@ bool GCHeap::StressHeap(gc_alloc_context * context)
4932249322

4932349323
int rgen = StressRNG(100);
4932449324

49325-
// gen0:gen1:gen2 distribution: 80:15:5
49326-
if (rgen >= 95)
49325+
// gen0:gen1:gen2 distribution: 90:8:2
49326+
if (rgen >= 98)
4932749327
rgen = 2;
49328-
else if (rgen >= 80)
49328+
else if (rgen >= 90)
4932949329
rgen = 1;
4933049330
else
4933149331
rgen = 0;

0 commit comments

Comments
 (0)