hotspot/src/share/vm/gc_implementation/g1/heapRegionSet.hpp
changeset 26316 93f6b40c038b
parent 26157 70eddb655686
child 26696 623a25e6c686
--- a/hotspot/src/share/vm/gc_implementation/g1/heapRegionSet.hpp	Mon Aug 25 07:35:36 2014 +0000
+++ b/hotspot/src/share/vm/gc_implementation/g1/heapRegionSet.hpp	Tue Aug 26 09:36:53 2014 +0200
@@ -238,14 +238,14 @@
 
   // Add hr to the list. The region should not be a member of another set.
   // Assumes that the list is ordered and will preserve that order. The order
-  // is determined by hrs_index.
+  // is determined by hrm_index.
   inline void add_ordered(HeapRegion* hr);
 
   // Removes from head or tail based on the given argument.
   HeapRegion* remove_region(bool from_head);
 
   // Merge two ordered lists. The result is also ordered. The order is
-  // determined by hrs_index.
+  // determined by hrm_index.
   void add_ordered(FreeRegionList* from_list);
 
   // It empties the list by removing all regions from it.