src/share/vm/memory/generation.hpp

changeset 6978
30c99d8e0f02
parent 6680
78bbf4d43a14
child 7535
7ae4e26cb1e0
child 7598
ddce0b7cee93
equal deleted inserted replaced
6977:4dfab3faf5e7 6978:30c99d8e0f02
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

mercurial