Struct mmtk::policy::space::SFTMap[][src]

pub struct SFTMap { /* fields omitted */ }

Implementations

impl SFTMap[src]

pub fn new() -> Self[src]

pub fn get(&self, address: Address) -> &'static dyn SFT[src]

pub fn update(
    &self,
    space: *const dyn SFT + Sync,
    start: Address,
    chunks: usize
)
[src]

Update SFT map for the given address range. It should be used in these cases: 1. when a space grows, 2. when initializing a contiguous space, 3. when ensure_mapped() is called on a space.

pub fn clear(&self, chunk_idx: usize)[src]

pub fn is_in_space(&self, object: ObjectReference) -> bool[src]

Trait Implementations

impl Default for SFTMap[src]

impl Sync for SFTMap[src]

Auto Trait Implementations

impl !RefUnwindSafe for SFTMap

impl !Send for SFTMap

impl Unpin for SFTMap

impl !UnwindSafe for SFTMap

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.