Expand description
Manages a pool of addresses that can be reused.
Re-exportsยง
use rand::Rng;๐use rand::RngExt;๐use rustc_abi::Align;๐use rustc_abi::Size;๐use crate::concurrency::VClock;๐use crate::helpers::ToUsize as _;๐use crate::MemoryKind;๐use crate::MiriConfig;๐use crate::ThreadId;๐
Structsยง
- Reuse
Pool - The pool strikes a balance between exploring more possible executions and making it more likely to find bugs. The hypothesis is that bugs are more likely to occur when reuse happens for allocations with the same layout, since that can trigger e.g. ABA issues in a concurrent data structure. Therefore we only reuse allocations when size and alignment match exactly.
Constantsยง
- MAX_
POOL_ ๐SIZE