mmtk/policy/
mod.rs

1//! Memory policies that can be used for spaces.
2
3/// This class defines and manages spaces.  Each policy is an instance
4/// of a space.  A space is a region of virtual memory (contiguous or
5/// discontigous) which is subject to the same memory management
6/// regime.  Multiple spaces (instances of this class or its
7/// descendants) may have the same policy (eg there could be numerous
8/// instances of CopySpace, each with different roles). Spaces are
9/// defined in terms of a unique region of virtual memory, so no two
10/// space instances ever share any virtual memory.
11///
12/// In addition to tracking virtual memory use and the mapping to
13/// policy, spaces also manage memory consumption (*used* virtual
14/// memory).
15pub mod space;
16
17/// Copy context defines the thread local copy allocator for copying policies.
18pub mod copy_context;
19/// Policy specific GC work
20pub mod gc_work;
21pub mod sft;
22pub mod sft_map;
23
24pub mod compressor;
25pub mod copyspace;
26pub mod immix;
27pub mod immortalspace;
28pub mod largeobjectspace;
29pub mod lockfreeimmortalspace;
30pub mod markcompactspace;
31pub mod marksweepspace;
32#[cfg(feature = "vm_space")]
33pub mod vmspace;