zig/lib/std/heap
Andrew Kelley 8626191549 std.heap.GeneralPurposeAllocator: fix slot_counts calculation
In larger small buckets, the comptime logic that computed slot count did
not verify that the number it produced was valid. Now it verifies it,
which made this bug into a compile error. Then I fixed the bug by
introducing a "minimum slots per bucket" declaration.
2025-02-06 14:23:23 -08:00
..
arena_allocator.zig std.mem.Allocator: introduce remap function to the interface 2025-02-06 14:23:23 -08:00
FixedBufferAllocator.zig std.mem.Allocator: introduce remap function to the interface 2025-02-06 14:23:23 -08:00
general_purpose_allocator.zig std.heap.GeneralPurposeAllocator: fix slot_counts calculation 2025-02-06 14:23:23 -08:00
memory_pool.zig std.heap.memory_pool: make preheat() usable after init() 2025-01-28 00:06:54 +01:00
PageAllocator.zig std: fix compilation under -lc 2025-02-06 14:23:23 -08:00
sbrk_allocator.zig runtime page size detection 2025-02-06 14:23:23 -08:00
ThreadSafeAllocator.zig std.heap.ThreadSafeAllocator: update to new Allocator API 2025-02-06 14:23:23 -08:00
WasmAllocator.zig std.heap.WasmAllocator: update to new Allocator API 2025-02-06 14:23:23 -08:00