hotspot/src/share/vm/gc/cms/concurrentMarkSweepGeneration.hpp
changeset 38177 b0c9cb06506b
parent 37235 d9a0c407ac98
child 38704 eb96c446c3a5
equal deleted inserted replaced
38175:4e2bff1a5467 38177:b0c9cb06506b
    81 // shifter == CardTableModRefBS::card_shift - LogHeapWordSize.)
    81 // shifter == CardTableModRefBS::card_shift - LogHeapWordSize.)
    82 // XXX 64-bit issues in BitMap?
    82 // XXX 64-bit issues in BitMap?
    83 class CMSBitMap VALUE_OBJ_CLASS_SPEC {
    83 class CMSBitMap VALUE_OBJ_CLASS_SPEC {
    84   friend class VMStructs;
    84   friend class VMStructs;
    85 
    85 
    86   HeapWord* _bmStartWord;   // base address of range covered by map
    86   HeapWord*    _bmStartWord;   // base address of range covered by map
    87   size_t    _bmWordSize;    // map size (in #HeapWords covered)
    87   size_t       _bmWordSize;    // map size (in #HeapWords covered)
    88   const int _shifter;       // shifts to convert HeapWord to bit position
    88   const int    _shifter;       // shifts to convert HeapWord to bit position
    89   VirtualSpace _virtual_space; // underlying the bit map
    89   VirtualSpace _virtual_space; // underlying the bit map
    90   BitMap    _bm;            // the bit map itself
    90   BitMapView   _bm;            // the bit map itself
    91  public:
    91   Mutex* const _lock;          // mutex protecting _bm;
    92   Mutex* const _lock;       // mutex protecting _bm;
       
    93 
    92 
    94  public:
    93  public:
    95   // constructor
    94   // constructor
    96   CMSBitMap(int shifter, int mutex_rank, const char* mutex_name);
    95   CMSBitMap(int shifter, int mutex_rank, const char* mutex_name);
    97 
    96