DebugAllocatorConfig
Fields of this type
Fields
- stack_trace_frames:usize
- Number of stack frames to capture.
- enable_memory_limit:bool
- If true, the allocator will have two fields:
- safety:bool
- Whether to enable safety checks.
- thread_safe:bool
- Whether the allocator may be used simultaneously from multiple threads.
- MutexType:?type
- What type of mutex you'd like to use, for thread safety.
- never_unmap:bool
- This is a temporary debugging trick you can use to turn segfaults into more helpful
- retain_metadata:bool
- This is a temporary debugging aid that retains metadata about allocations indefinitely.
- verbose_log:bool
- Enables emitting info messages with the size and address of every allocation.
- backing_allocator_zeroes:bool
- Tell whether the backing allocator returns already-zeroed memory.
- resize_stack_traces:bool
- When resizing an allocation, refresh the stack trace with the resize
- canary:usize
- Magic value that distinguishes allocations owned by this allocator from
- page_size:usize
- The size of allocations requested from the backing allocator for