File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ impl TreadMill {
34
34
35
35
pub fn add_to_treadmill ( & self , object : ObjectReference , nursery : bool ) {
36
36
if nursery {
37
- // println !("+ an {} ", cell );
37
+ trace ! ( "Adding {} to nursery " , object ) ;
38
38
self . alloc_nursery . lock ( ) . unwrap ( ) . insert ( object) ;
39
39
} else {
40
- // println !("+ ts {} ", cell );
40
+ trace ! ( "Adding {} to to_space " , object ) ;
41
41
self . to_space . lock ( ) . unwrap ( ) . insert ( object) ;
42
42
}
43
43
}
@@ -93,10 +93,10 @@ impl TreadMill {
93
93
94
94
pub fn flip ( & mut self , full_heap : bool ) {
95
95
swap ( & mut self . alloc_nursery , & mut self . collect_nursery ) ;
96
- // println !("an <-> cn ");
96
+ trace ! ( "Flipped alloc_nursery and collect_nursery " ) ;
97
97
if full_heap {
98
98
swap ( & mut self . from_space , & mut self . to_space ) ;
99
- // println !("fs <-> ts ");
99
+ trace ! ( "Flipped from_space and to_space " ) ;
100
100
}
101
101
}
102
102
}
You can’t perform that action at this time.
0 commit comments