#[repr(C)]pub struct Config {
pub heap_growth_factor: f64,
pub heap_size: usize,
pub max_heap_size: usize,
pub max_eden_size: usize,
pub verbose: bool,
pub generational: bool,
}
Expand description
Configuration for heap constructor.
Fields§
§heap_growth_factor: f64
How fast heap threshold should grow
heap_size: usize
Heap size. It is heap size only for Immix block space. LargeObjectSpace will allocate until System OOMs
max_heap_size: usize
Maximum heap size before first GC
max_eden_size: usize
Maximum eden heap size before first GC (does not matter atm)
verbose: bool
Enables verbose printing
generational: bool
Enable generational GC (does not work atm)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more