src/share/vm/gc_implementation/g1/heapRegionSet.inline.hpp

Print this page
rev 6923 : imported patch 8054819-rename-heapregionseq

@@ -58,18 +58,18 @@
 
   // Now link the region
   if (_head != NULL) {
     HeapRegion* curr;
 
-    if (_last != NULL && _last->hrs_index() < hr->hrs_index()) {
+    if (_last != NULL && _last->hrm_index() < hr->hrm_index()) {
       curr = _last;
     } else {
       curr = _head;
     }
 
     // Find first entry with a Region Index larger than entry to insert.
-    while (curr != NULL && curr->hrs_index() < hr->hrs_index()) {
+    while (curr != NULL && curr->hrm_index() < hr->hrm_index()) {
       curr = curr->next();
     }
 
     hr->set_next(curr);