equal
deleted
inserted
replaced
56 // A generic CM bit map. This is essentially a wrapper around the BitMap |
56 // A generic CM bit map. This is essentially a wrapper around the BitMap |
57 // class, with one bit per (1<<_shifter) HeapWords. |
57 // class, with one bit per (1<<_shifter) HeapWords. |
58 |
58 |
59 class G1CMBitMapRO VALUE_OBJ_CLASS_SPEC { |
59 class G1CMBitMapRO VALUE_OBJ_CLASS_SPEC { |
60 protected: |
60 protected: |
61 HeapWord* _bmStartWord; // base address of range covered by map |
61 HeapWord* _bmStartWord; // base address of range covered by map |
62 size_t _bmWordSize; // map size (in #HeapWords covered) |
62 size_t _bmWordSize; // map size (in #HeapWords covered) |
63 const int _shifter; // map to char or bit |
63 const int _shifter; // map to char or bit |
64 BitMap _bm; // the bit map itself |
64 BitMapView _bm; // the bit map itself |
65 |
65 |
66 public: |
66 public: |
67 // constructor |
67 // constructor |
68 G1CMBitMapRO(int shifter); |
68 G1CMBitMapRO(int shifter); |
69 |
69 |