zig/lib/std/heap
Gregory Mullen f74e10cd47 Update default stack frames for general_purpose_allocator.zig
Created from a conversation with  @andrewrk on irc: Memory leaks when using ArrayList can be inconvenient to debug when the stack frame size is 4 because the entirety of the printed frame is within zig stdlib, and not in the users calling stack. Increasing this to 6 for Debug builds, gives 2 frames of user code. I increased the frame size for tests as well by the equivalent factor, but I'm unconvinced that's actually desirable.
2023-08-21 11:22:22 -07:00
..
arena_allocator.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
general_purpose_allocator.zig Update default stack frames for general_purpose_allocator.zig 2023-08-21 11:22:22 -07:00
log_to_writer_allocator.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
logging_allocator.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
memory_pool.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
PageAllocator.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
sbrk_allocator.zig std: add SbrkAllocator and use it for Plan 9 2023-08-02 17:39:52 -04:00
ThreadSafeAllocator.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
WasmAllocator.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
WasmPageAllocator.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00