iai_callgrind::client_requests::valgrind

Function move_mempool

source
pub fn move_mempool(pool_a: *const (), pool_b: *const ())
Available on crate feature client_requests_defs only.
Expand description

Resize and/or move a piece associated with a memory pool

This request informs Memcheck that the pool previously anchored at address pool_a has moved to anchor address pool_b. This is a rare request, typically only needed if you realloc the header of a mempool.

No memory-status bits are altered by this request.

See also Memory Pools: describing and working with custom allocators