mmtk/policy/immix/
mod.rs

1pub mod block;
2pub mod defrag;
3pub mod immixspace;
4pub mod line;
5
6pub use immixspace::*;
7
8use crate::policy::immix::block::Block;
9use crate::util::linear_scan::Region;
10
11/// The max object size for immix: half of a block
12pub const MAX_IMMIX_OBJECT_SIZE: usize = Block::BYTES >> 1;
13
14/// Mark/sweep memory for block-level only
15pub const BLOCK_ONLY: bool = false;
16
17/// Mark lines when scanning objects.
18/// Otherwise, do it at mark time.
19pub const MARK_LINE_AT_SCAN_TIME: bool = true;