197 |
197 |
198 // Return the address indicating the start of the region corresponding to |
198 // Return the address indicating the start of the region corresponding to |
199 // "index" in "_offset_array". |
199 // "index" in "_offset_array". |
200 HeapWord* address_for_index(size_t index) const; |
200 HeapWord* address_for_index(size_t index) const; |
201 |
201 |
|
202 // Return the address "p" incremented by the size of |
|
203 // a region. This method does not align the address |
|
204 // returned to the start of a region. It is a simple |
|
205 // primitive. |
|
206 HeapWord* inc_by_region_size(HeapWord* p) const { return p + N_words; } |
|
207 |
202 // Shared space support |
208 // Shared space support |
203 void serialize(SerializeOopClosure* soc, HeapWord* start, HeapWord* end); |
209 void serialize(SerializeOopClosure* soc, HeapWord* start, HeapWord* end); |
204 }; |
210 }; |
205 |
211 |
206 ////////////////////////////////////////////////////////////////////////// |
212 ////////////////////////////////////////////////////////////////////////// |