206 ////////////////////////////////////////////////////////////////////////// |
206 ////////////////////////////////////////////////////////////////////////// |
207 // The BlockOffsetArray whose subtypes use the BlockOffsetSharedArray. |
207 // The BlockOffsetArray whose subtypes use the BlockOffsetSharedArray. |
208 ////////////////////////////////////////////////////////////////////////// |
208 ////////////////////////////////////////////////////////////////////////// |
209 class BlockOffsetArray: public BlockOffsetTable { |
209 class BlockOffsetArray: public BlockOffsetTable { |
210 friend class VMStructs; |
210 friend class VMStructs; |
|
211 friend class G1BlockOffsetArray; // temp. until we restructure and cleanup |
211 protected: |
212 protected: |
212 // The following enums are used by do_block_internal() below |
213 // The following enums are used by do_block_internal() below |
213 enum Action { |
214 enum Action { |
214 Action_single, // BOT records a single block (see single_block()) |
215 Action_single, // BOT records a single block (see single_block()) |
215 Action_mark, // BOT marks the start of a block (see mark_block()) |
216 Action_mark, // BOT marks the start of a block (see mark_block()) |