hotspot/src/share/vm/gc/g1/g1ConcurrentMark.hpp
changeset 38184 c149a974c35b
parent 38183 cb68e4923223
parent 38177 b0c9cb06506b
child 38270 2b3091f00fa0
equal deleted inserted replaced
38183:cb68e4923223 38184:c149a974c35b
    57 // A generic CM bit map.  This is essentially a wrapper around the BitMap
    57 // A generic CM bit map.  This is essentially a wrapper around the BitMap
    58 // class, with one bit per (1<<_shifter) HeapWords.
    58 // class, with one bit per (1<<_shifter) HeapWords.
    59 
    59 
    60 class G1CMBitMapRO VALUE_OBJ_CLASS_SPEC {
    60 class G1CMBitMapRO VALUE_OBJ_CLASS_SPEC {
    61  protected:
    61  protected:
    62   HeapWord* _bmStartWord;      // base address of range covered by map
    62   HeapWord*  _bmStartWord; // base address of range covered by map
    63   size_t    _bmWordSize;       // map size (in #HeapWords covered)
    63   size_t     _bmWordSize;  // map size (in #HeapWords covered)
    64   const int _shifter;          // map to char or bit
    64   const int  _shifter;     // map to char or bit
    65   BitMap    _bm;               // the bit map itself
    65   BitMapView _bm;          // the bit map itself
    66 
    66 
    67  public:
    67  public:
    68   // constructor
    68   // constructor
    69   G1CMBitMapRO(int shifter);
    69   G1CMBitMapRO(int shifter);
    70 
    70