mmtk/util/alloc/
mod.rs

1//! Various allocators implementation.
2
3/// The allocator trait and allocation-related functions.
4pub(crate) mod allocator;
5pub use allocator::fill_alignment_gap;
6pub use allocator::AllocationError;
7pub use allocator::AllocationOptions;
8pub use allocator::Allocator;
9
10/// A list of all the allocators, embedded in Mutator
11pub(crate) mod allocators;
12pub use allocators::AllocatorInfo;
13pub use allocators::AllocatorSelector;
14
15/// Bump pointer allocator
16mod bumpallocator;
17pub use bumpallocator::BumpAllocator;
18pub use bumpallocator::BumpPointer;
19
20mod large_object_allocator;
21pub use large_object_allocator::LargeObjectAllocator;
22
23/// An alloactor backed by malloc
24mod malloc_allocator;
25pub use malloc_allocator::MallocAllocator;
26
27/// Immix allocator
28pub mod immix_allocator;
29pub use self::immix_allocator::ImmixAllocator;
30
31/// Free list allocator based on Mimalloc
32pub mod free_list_allocator;
33pub use free_list_allocator::FreeListAllocator;
34
35/// Mark compact allocator (actually a bump pointer allocator with an extra heade word)
36mod markcompact_allocator;
37pub use markcompact_allocator::MarkCompactAllocator;
38
39/// Embedded metadata pages
40pub(crate) mod embedded_meta_data;