fn enter_preparation_phase(&mut self, col: &mut CollectionCtxt) {
        COLLECTOR_PHASE.lock().update(CollectorPhase::Preparation);
        for block in col.allocation_cache.iter_mut() {
            block.set_colour(Colour::White)
        }
    }
/// The entry-point to the preperation phase.
///
/// This sets the mark-bits of all garbage-collected objects to white.
The entry-point to the preperation phase.
This sets the mark-bits of all garbage-collected objects to white.
The entry - point to the preperation phase . This sets the mark - bits of all garbage - collected objects to white .
fn enter_preparation_phase(&mut self, col: &mut CollectionCtxt) {
        COLLECTOR_PHASE.lock().update(CollectorPhase::Preparation);
        for block in col.allocation_cache.iter_mut() {
            block.set_colour(Colour::White)
        }
    }
fn enter_preparation_phase ( & mut self , col : & mut CollectionCtxt ) { COLLECTOR_PHASE . lock ( ) . update ( CollectorPhase :: Preparation ) ; for block in col . allocation_cache . iter_mut ( ) { block . set_colour ( Colour :: White ) } }
The entry-point to the preperation phase.
The entry - point to the preperation phase .
&mut self
col
&mut CollectionCtxt