Struct comet::Config[][src]

#[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

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.