src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp

changeset 954
65de26b5ea82
parent 905
ad8c8ca4ab0f
parent 952
e9be0e04635a
child 961
818efdefcc99
equal deleted inserted replaced
951:fc7ab6287598 954:65de26b5ea82
848 // Same as above, restricted to a memory region. 848 // Same as above, restricted to a memory region.
849 virtual void oop_iterate(MemRegion mr, OopClosure* cl); 849 virtual void oop_iterate(MemRegion mr, OopClosure* cl);
850 850
851 // Iterate over all objects, calling "cl.do_object" on each. 851 // Iterate over all objects, calling "cl.do_object" on each.
852 virtual void object_iterate(ObjectClosure* cl); 852 virtual void object_iterate(ObjectClosure* cl);
853 virtual void safe_object_iterate(ObjectClosure* cl) { object_iterate(cl); }
853 854
854 // Iterate over all objects allocated since the last collection, calling 855 // Iterate over all objects allocated since the last collection, calling
855 // "cl.do_object" on each. The heap must have been initialized properly 856 // "cl.do_object" on each. The heap must have been initialized properly
856 // to support this function, or else this call will fail. 857 // to support this function, or else this call will fail.
857 virtual void object_iterate_since_last_GC(ObjectClosure* cl); 858 virtual void object_iterate_since_last_GC(ObjectClosure* cl);

mercurial