diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/zisp/gc/meta_alloc.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zisp/gc/meta_alloc.zig b/src/zisp/gc/meta_alloc.zig index c8d46e1..248b00b 100644 --- a/src/zisp/gc/meta_alloc.zig +++ b/src/zisp/gc/meta_alloc.zig @@ -107,7 +107,6 @@ const SIZES: [16]usize = .{ // Important: Ensure the smallest size class is inherently immune to false // sharing, and no smaller than: 64 + @sizeOf(UnitIdx) * ( FSC_MAX / 2 ). // That's exactly 128 bytes assuming FSC_MAX = 32 (see below). - 128, 256, 512, 1024, @@ -123,6 +122,7 @@ const SIZES: [16]usize = .{ 1024 * 1024, 1024 * 1024 * 2, 1024 * 1024 * 4, + 1024 * 1024 * 8, }; /// Gets the index 0 to 15 of a size class, from the size value, returning a @@ -520,7 +520,7 @@ export fn flush_thread_reserves() void { // Given our chunked WM bumps and smallest size class, hi - lo > 4 KiB // implies that there's at least one entire untouched page, as well as - // at least one >=128-byte slot before it, which can hold the metadata + // at least one >=256-byte slot before it, which can hold the metadata // of the vacancy-list entry without faulting in an empty page. if (tl.wm_hi - tl.wm_lo > 4096 / @sizeOf(Unit)) { flush_to_vl(info, tl, slab); |
