Struct mmtk::plan::plan_constraints::PlanConstraints[][src]

pub struct PlanConstraints {
    pub moves_objects: bool,
    pub gc_header_bits: usize,
    pub gc_header_words: usize,
    pub num_specialized_scans: usize,
    pub max_non_los_copy_bytes: usize,
    pub needs_log_bit_in_header: bool,
    pub needs_log_bit_in_header_num: usize,
    pub barrier: BarrierSelector,
    pub needs_linear_scan: bool,
    pub needs_concurrent_workers: bool,
    pub generate_gc_trace: bool,
    pub needs_forward_after_liveness: bool,
}

This struct defines plan-specific constraints. Most of the constraints are constants. Each plan should declare a constant of this struct, and use the constant wherever possible. However, for plan-neutral implementations, these constraints are not constant.

Fields

moves_objects: boolgc_header_bits: usizegc_header_words: usizenum_specialized_scans: usizemax_non_los_copy_bytes: usizeneeds_log_bit_in_header: boolneeds_log_bit_in_header_num: usizebarrier: BarrierSelectorneeds_linear_scan: boolneeds_concurrent_workers: boolgenerate_gc_trace: boolneeds_forward_after_liveness: bool

Implementations

impl PlanConstraints[src]

pub const fn default() -> Self[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.