comparison src/share/vm/memory/sharedHeap.hpp @ 5264:24e87613ee58

8009561: NPG: Metaspace fragmentation when retiring a Metachunk Summary: Use best-fit block-splitting freelist allocation from the block freelist. Reviewed-by: jmasa, stefank
author mgerdin
date Wed, 11 Sep 2013 09:37:14 +0200
parents a08c80e9e1e5
children 55fb97c4c58d
comparison
equal deleted inserted replaced
13:6f2eb262294a 14:e2aedb24a5d9
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. 166 // Same as above, restricted to a memory region.
167 virtual void oop_iterate(MemRegion mr, ExtendedOopClosure* cl) = 0; 167 virtual void oop_iterate(MemRegion mr, ExtendedOopClosure* cl) = 0;
168 168
169 // Iterate over all objects allocated since the last collection, calling
170 // "cl->do_object" on each. The heap must have been initialized properly
171 // to support this function, or else this call will fail.
172 virtual void object_iterate_since_last_GC(ObjectClosure* cl) = 0;
173
174 // Iterate over all spaces in use in the heap, in an undefined order. 169 // Iterate over all spaces in use in the heap, in an undefined order.
175 virtual void space_iterate(SpaceClosure* cl) = 0; 170 virtual void space_iterate(SpaceClosure* cl) = 0;
176 171
177 // A SharedHeap will contain some number of spaces. This finds the 172 // A SharedHeap will contain some number of spaces. This finds the
178 // space whose reserved area contains the given address, or else returns 173 // space whose reserved area contains the given address, or else returns