541 |
541 |
542 // Iterate over all the ref-containing fields of all objects in the |
542 // Iterate over all the ref-containing fields of all objects in the |
543 // generation, calling "cl.do_oop" on each. |
543 // generation, calling "cl.do_oop" on each. |
544 virtual void oop_iterate(ExtendedOopClosure* cl); |
544 virtual void oop_iterate(ExtendedOopClosure* cl); |
545 |
545 |
546 // Same as above, restricted to the intersection of a memory region and |
|
547 // the generation. |
|
548 virtual void oop_iterate(MemRegion mr, ExtendedOopClosure* cl); |
|
549 |
|
550 // Iterate over all objects in the generation, calling "cl.do_object" on |
546 // Iterate over all objects in the generation, calling "cl.do_object" on |
551 // each. |
547 // each. |
552 virtual void object_iterate(ObjectClosure* cl); |
548 virtual void object_iterate(ObjectClosure* cl); |
553 |
549 |
554 // Iterate over all safe objects in the generation, calling "cl.do_object" on |
550 // Iterate over all safe objects in the generation, calling "cl.do_object" on |