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, util::linear_scan::Region};
9
10/// The max object size for immix: half of a block
11pub const MAX_IMMIX_OBJECT_SIZE: usize = Block::BYTES >> 1;
12
13/// Mark/sweep memory for block-level only
14pub const BLOCK_ONLY: bool = false;
15
16/// Mark lines when scanning objects.
17/// Otherwise, do it at mark time.
18pub const MARK_LINE_AT_SCAN_TIME: bool = true;