103 // |
103 // |
104 // Invariant: bottom() and end() are on page_size boundaries and |
104 // Invariant: bottom() and end() are on page_size boundaries and |
105 // bottom() <= top() <= end() |
105 // bottom() <= top() <= end() |
106 // top() is inclusive and end() is exclusive. |
106 // top() is inclusive and end() is exclusive. |
107 |
107 |
108 class Space: public CHeapObj { |
108 class Space: public CHeapObj<mtGC> { |
109 friend class VMStructs; |
109 friend class VMStructs; |
110 protected: |
110 protected: |
111 HeapWord* _bottom; |
111 HeapWord* _bottom; |
112 HeapWord* _end; |
112 HeapWord* _end; |
113 |
113 |