equal
deleted
inserted
replaced
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 |