Skip to content

Commit

Permalink
Merge pull request #50 from RelationalAI/aa-fix-pool-live-bytes-merge
Browse files Browse the repository at this point in the history
Restore the missing pool live bytes reset during sweeping
  • Loading branch information
adnan-alhomssi authored Sep 15, 2023
2 parents 633b683 + 0709597 commit a202a8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a202a8e

Please sign in to comment.