1.1 --- a/src/share/vm/gc_implementation/g1/heapRegion.hpp Mon Mar 24 09:14:14 2014 -0700 1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegion.hpp Fri Feb 28 15:27:09 2014 +0100 1.3 @@ -271,6 +271,7 @@ 1.4 1.5 // Fields used by the HeapRegionSetBase class and subclasses. 1.6 HeapRegion* _next; 1.7 + HeapRegion* _prev; 1.8 #ifdef ASSERT 1.9 HeapRegionSetBase* _containing_set; 1.10 #endif // ASSERT 1.11 @@ -531,11 +532,13 @@ 1.12 1.13 // Methods used by the HeapRegionSetBase class and subclasses. 1.14 1.15 - // Getter and setter for the next field used to link regions into 1.16 + // Getter and setter for the next and prev fields used to link regions into 1.17 // linked lists. 1.18 HeapRegion* next() { return _next; } 1.19 + HeapRegion* prev() { return _prev; } 1.20 1.21 void set_next(HeapRegion* next) { _next = next; } 1.22 + void set_prev(HeapRegion* prev) { _prev = prev; } 1.23 1.24 // Every region added to a set is tagged with a reference to that 1.25 // set. This is used for doing consistency checking to make sure that