iai_callgrind::client_requests::valgrind::MempoolFlags

Constant AUTOFREE

source
pub const AUTOFREE: u8 = 1;
Available on crate feature client_requests_defs only.
Expand description

A METAPOOL can also be marked as an auto free pool

This flag, which must be OR-ed together with the METAPOOL.

For an auto free pool, super::mempool_free will automatically free the second level blocks that are contained inside the first level block freed with super::mempool_free. In other words, calling super::mempool_free will cause implicit calls to super::freelike_block for all the second level blocks included in the first level block.

Note: it is an error to use this flag without the METAPOOL flag.