1.1 --- a/src/share/vm/gc_implementation/g1/heapRegionSet.hpp Wed Aug 27 09:36:55 2014 +0200 1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegionSet.hpp Tue Aug 26 09:36:53 2014 +0200 1.3 @@ -238,14 +238,14 @@ 1.4 1.5 // Add hr to the list. The region should not be a member of another set. 1.6 // Assumes that the list is ordered and will preserve that order. The order 1.7 - // is determined by hrs_index. 1.8 + // is determined by hrm_index. 1.9 inline void add_ordered(HeapRegion* hr); 1.10 1.11 // Removes from head or tail based on the given argument. 1.12 HeapRegion* remove_region(bool from_head); 1.13 1.14 // Merge two ordered lists. The result is also ordered. The order is 1.15 - // determined by hrs_index. 1.16 + // determined by hrm_index. 1.17 void add_ordered(FreeRegionList* from_list); 1.18 1.19 // It empties the list by removing all regions from it.