comparison src/share/vm/memory/sharedHeap.hpp @ 20264:30c99d8e0f02

8038399: Remove dead oop_iterate MemRegion variants from SharedHeap, Generation and Space classes Reviewed-by: tschatzl, stefank
author mgerdin
date Thu, 06 Mar 2014 09:08:18 +0100
parents 64ac9c55d666
children 2c6ef90f030a
comparison
equal deleted inserted replaced
20263:4dfab3faf5e7 20264:30c99d8e0f02
161 GenRemSet* rem_set() { return _rem_set; } 161 GenRemSet* rem_set() { return _rem_set; }
162 162
163 // Iteration functions. 163 // Iteration functions.
164 void oop_iterate(ExtendedOopClosure* cl) = 0; 164 void oop_iterate(ExtendedOopClosure* cl) = 0;
165 165
166 // Same as above, restricted to a memory region.
167 virtual void oop_iterate(MemRegion mr, ExtendedOopClosure* cl) = 0;
168
169 // Iterate over all spaces in use in the heap, in an undefined order. 166 // Iterate over all spaces in use in the heap, in an undefined order.
170 virtual void space_iterate(SpaceClosure* cl) = 0; 167 virtual void space_iterate(SpaceClosure* cl) = 0;
171 168
172 // A SharedHeap will contain some number of spaces. This finds the 169 // A SharedHeap will contain some number of spaces. This finds the
173 // space whose reserved area contains the given address, or else returns 170 // space whose reserved area contains the given address, or else returns