mmtk 0.3.2

MMTk is a framework for the design and implementation of high-performance and portable memory managers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/**
 * log_2 of the maximum number of spaces a Plan can support.
 */
pub const LOG_MAX_SPACES: usize = 4;

/**
 * Maximum number of spaces a Plan can support.
 */
pub const MAX_SPACES: usize = 1 << LOG_MAX_SPACES;

/**
 * In a 64-bit addressing model, each space is the same size, given
 * by this constant.  At the moment, we require that the number of
 * pages in a space fit into a 32-bit signed int, so the maximum
 * size of this constant is 41 (assuming 4k pages).
 */
pub const LOG_SPACE_SIZE_64: usize = 41;