Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/heapRegionSet.inline.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 | 7848fc12602b |
comparison
equal
deleted
inserted
replaced
20359:4d3a43351904 | 20377:a8ea2f110d87 |
---|---|
58 | 58 |
59 // Now link the region | 59 // Now link the region |
60 if (_head != NULL) { | 60 if (_head != NULL) { |
61 HeapRegion* curr; | 61 HeapRegion* curr; |
62 | 62 |
63 if (_last != NULL && _last->hrs_index() < hr->hrs_index()) { | 63 if (_last != NULL && _last->hrm_index() < hr->hrm_index()) { |
64 curr = _last; | 64 curr = _last; |
65 } else { | 65 } else { |
66 curr = _head; | 66 curr = _head; |
67 } | 67 } |
68 | 68 |
69 // Find first entry with a Region Index larger than entry to insert. | 69 // Find first entry with a Region Index larger than entry to insert. |
70 while (curr != NULL && curr->hrs_index() < hr->hrs_index()) { | 70 while (curr != NULL && curr->hrm_index() < hr->hrm_index()) { |
71 curr = curr->next(); | 71 curr = curr->next(); |
72 } | 72 } |
73 | 73 |
74 hr->set_next(curr); | 74 hr->set_next(curr); |
75 | 75 |