1402 |
1402 |
1403 // Iterate over all the ref-containing fields of all objects, calling |
1403 // Iterate over all the ref-containing fields of all objects, calling |
1404 // "cl.do_oop" on each. |
1404 // "cl.do_oop" on each. |
1405 virtual void oop_iterate(ExtendedOopClosure* cl); |
1405 virtual void oop_iterate(ExtendedOopClosure* cl); |
1406 |
1406 |
1407 // Same as above, restricted to a memory region. |
|
1408 void oop_iterate(MemRegion mr, ExtendedOopClosure* cl); |
|
1409 |
|
1410 // Iterate over all objects, calling "cl.do_object" on each. |
1407 // Iterate over all objects, calling "cl.do_object" on each. |
1411 virtual void object_iterate(ObjectClosure* cl); |
1408 virtual void object_iterate(ObjectClosure* cl); |
1412 |
1409 |
1413 virtual void safe_object_iterate(ObjectClosure* cl) { |
1410 virtual void safe_object_iterate(ObjectClosure* cl) { |
1414 object_iterate(cl); |
1411 object_iterate(cl); |