equal
deleted
inserted
replaced
1164 // Iteration functions. |
1164 // Iteration functions. |
1165 |
1165 |
1166 // Iterate over all objects, calling "cl.do_object" on each. |
1166 // Iterate over all objects, calling "cl.do_object" on each. |
1167 virtual void object_iterate(ObjectClosure* cl); |
1167 virtual void object_iterate(ObjectClosure* cl); |
1168 |
1168 |
1169 virtual void safe_object_iterate(ObjectClosure* cl) { |
|
1170 object_iterate(cl); |
|
1171 } |
|
1172 |
|
1173 // Iterate over heap regions, in address order, terminating the |
1169 // Iterate over heap regions, in address order, terminating the |
1174 // iteration early if the "do_heap_region" method returns "true". |
1170 // iteration early if the "do_heap_region" method returns "true". |
1175 void heap_region_iterate(HeapRegionClosure* blk) const; |
1171 void heap_region_iterate(HeapRegionClosure* blk) const; |
1176 |
1172 |
1177 // Return the region with the given index. It assumes the index is valid. |
1173 // Return the region with the given index. It assumes the index is valid. |