Skip to content

Commit e2208a7

Browse files
d-nettoKristofferC
authored andcommitted
initialize prev_nold and nold in gc_reset_page (#50289)
(cherry picked from commit 48c92c1)
1 parent 0de8c64 commit e2208a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/gc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1415,6 +1415,8 @@ static inline jl_taggedvalue_t *reset_page(jl_ptls_t ptls2, const jl_gc_pool_t *
14151415
pg->has_marked = 0;
14161416
pg->fl_begin_offset = -1;
14171417
pg->fl_end_offset = -1;
1418+
pg->prev_nold = 0;
1419+
pg->nold = 0;
14181420
return beg;
14191421
}
14201422

0 commit comments

Comments
 (0)