comparison src/share/vm/memory/blockOffsetTable.hpp @ 342:37f87013dfd8

6711316: Open source the Garbage-First garbage collector Summary: First mercurial integration of the code for the Garbage-First garbage collector. Reviewed-by: apetrusenko, iveresov, jmasa, sgoldman, tonyp, ysr
author ysr
date Thu, 05 Jun 2008 15:57:56 -0700
parents a61af66fc99e
children 2564c620fa42
comparison
equal deleted inserted replaced
189:0b27f3512f9e 342:37f87013dfd8
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())