File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ impl TreadMill {
3434
3535 pub fn add_to_treadmill ( & self , object : ObjectReference , nursery : bool ) {
3636 if nursery {
37- // println !("+ an {} ", cell );
37+ trace ! ( "Adding {} to nursery " , object ) ;
3838 self . alloc_nursery . lock ( ) . unwrap ( ) . insert ( object) ;
3939 } else {
40- // println !("+ ts {} ", cell );
40+ trace ! ( "Adding {} to to_space " , object ) ;
4141 self . to_space . lock ( ) . unwrap ( ) . insert ( object) ;
4242 }
4343 }
@@ -93,10 +93,10 @@ impl TreadMill {
9393
9494 pub fn flip ( & mut self , full_heap : bool ) {
9595 swap ( & mut self . alloc_nursery , & mut self . collect_nursery ) ;
96- // println !("an <-> cn ");
96+ trace ! ( "Flipped alloc_nursery and collect_nursery " ) ;
9797 if full_heap {
9898 swap ( & mut self . from_space , & mut self . to_space ) ;
99- // println !("fs <-> ts ");
99+ trace ! ( "Flipped from_space and to_space " ) ;
100100 }
101101 }
102102}
You can’t perform that action at this time.
0 commit comments