From 070959736f0f2de559f692296f2d65b1e1f1f51e Mon Sep 17 00:00:00 2001 From: Adnan Alhomssi Date: Fri, 15 Sep 2023 12:01:08 +0200 Subject: [PATCH] reset pool_live_bytes in 6. start sweeping --- src/gc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gc.c b/src/gc.c index d214ca6897ec5..a985394968ac1 100644 --- a/src/gc.c +++ b/src/gc.c @@ -3356,6 +3356,7 @@ static int _jl_gc_collect(jl_ptls_t ptls, jl_gc_collection_t collection) } scanned_bytes = 0; // 6. start sweeping + pool_live_bytes = 0; uint64_t start_sweep_time = jl_hrtime(); JL_PROBE_GC_SWEEP_BEGIN(sweep_full); sweep_weak_refs();