Crate jemallocator [−] [src]
Bindings for jemalloc as an allocator
This crate provides bindings to jemalloc as a memory allocator for Rust.
This crate mainly exports, one type, Jemalloc, which implements the
Alloc trait and is suitable both as a memory allocator and as a
global allocator.
Structs
| Jemalloc |
Handle to the jemalloc allocator |
Functions
| mallctl_fetch⚠ |
Fetch the value of options |
| mallctl_set⚠ |
Set a value to option |
| usable_size⚠ |
Return the usable size of the allocation pointed to by ptr. |