diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/zisp/gc/meta_alloc.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zisp/gc/meta_alloc.zig b/src/zisp/gc/meta_alloc.zig index 56f9c88..28494ee 100644 --- a/src/zisp/gc/meta_alloc.zig +++ b/src/zisp/gc/meta_alloc.zig @@ -391,7 +391,7 @@ export fn flush_thread_reserves() void { // Up to two iterations to flush the entire fsc. while (tl.fsc_count != 0) { - flush_fsc(info, tl, slab, @min(chunk_max, tl.fsc_count)); + flush_fsc(info, tl, slab, @min(chunk_max, tl.fsc_count - 1)); } // Now turn slots between wm_lo and wm_hi into free-list entries; most |
