comparison src/share/vm/gc_implementation/g1/heapRegionSet.hpp @ 20377:a8ea2f110d87

8054819: Rename HeapRegionSeq to HeapRegionManager Reviewed-by: jwilhelm, jmasa
author tschatzl
date Tue, 26 Aug 2014 09:36:53 +0200
parents 6701abbc4441
children c02ec279b062
comparison
equal deleted inserted replaced
20359:4d3a43351904 20377:a8ea2f110d87
236 236
237 static void set_unrealistically_long_length(uint len); 237 static void set_unrealistically_long_length(uint len);
238 238
239 // Add hr to the list. The region should not be a member of another set. 239 // Add hr to the list. The region should not be a member of another set.
240 // Assumes that the list is ordered and will preserve that order. The order 240 // Assumes that the list is ordered and will preserve that order. The order
241 // is determined by hrs_index. 241 // is determined by hrm_index.
242 inline void add_ordered(HeapRegion* hr); 242 inline void add_ordered(HeapRegion* hr);
243 243
244 // Removes from head or tail based on the given argument. 244 // Removes from head or tail based on the given argument.
245 HeapRegion* remove_region(bool from_head); 245 HeapRegion* remove_region(bool from_head);
246 246
247 // Merge two ordered lists. The result is also ordered. The order is 247 // Merge two ordered lists. The result is also ordered. The order is
248 // determined by hrs_index. 248 // determined by hrm_index.
249 void add_ordered(FreeRegionList* from_list); 249 void add_ordered(FreeRegionList* from_list);
250 250
251 // It empties the list by removing all regions from it. 251 // It empties the list by removing all regions from it.
252 void remove_all(); 252 void remove_all();
253 253