src/share/vm/memory/blockOffsetTable.hpp

changeset 736
387a62b4be60
parent 435
a61af66fc99e
child 772
9ee9cf798b59
child 792
2564c620fa42
equal deleted inserted replaced
735:bfcb639d5bca 736:387a62b4be60
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 //////////////////////////////////////////////////////////////////////////

mercurial