diff --git a/src/util/treadmill.rs b/src/util/treadmill.rs index 391256a432..e8cfe92d4f 100644 --- a/src/util/treadmill.rs +++ b/src/util/treadmill.rs @@ -34,10 +34,10 @@ impl TreadMill { pub fn add_to_treadmill(&self, object: ObjectReference, nursery: bool) { if nursery { - // println!("+ an {}", cell); + trace!("Adding {} to nursery", object); self.alloc_nursery.lock().unwrap().insert(object); } else { - // println!("+ ts {}", cell); + trace!("Adding {} to to_space", object); self.to_space.lock().unwrap().insert(object); } } @@ -93,10 +93,10 @@ impl TreadMill { pub fn flip(&mut self, full_heap: bool) { swap(&mut self.alloc_nursery, &mut self.collect_nursery); - // println!("an <-> cn"); + trace!("Flipped alloc_nursery and collect_nursery"); if full_heap { swap(&mut self.from_space, &mut self.to_space); - // println!("fs <-> ts"); + trace!("Flipped from_space and to_space"); } } }