51 // * _max_length (returned by max_length()) is the maximum number of |
51 // * _max_length (returned by max_length()) is the maximum number of |
52 // regions the heap can have. |
52 // regions the heap can have. |
53 // |
53 // |
54 // and maintain that: _length <= _allocated_length <= _max_length |
54 // and maintain that: _length <= _allocated_length <= _max_length |
55 |
55 |
56 class HeapRegionSeq: public CHeapObj { |
56 class HeapRegionSeq: public CHeapObj<mtGC> { |
57 friend class VMStructs; |
57 friend class VMStructs; |
58 |
58 |
59 // The array that holds the HeapRegions. |
59 // The array that holds the HeapRegions. |
60 HeapRegion** _regions; |
60 HeapRegion** _regions; |
61 |
61 |