hotspot/src/share/vm/utilities/bitMap.hpp
changeset 46745 f7b9bb98bb72
parent 46625 edefffab74e2
child 46958 a13bd8c6b7a2
equal deleted inserted replaced
46744:84acc04e14d2 46745:f7b9bb98bb72
   351   // Don't allow copy or assignment, to prevent the
   351   // Don't allow copy or assignment, to prevent the
   352   // allocated memory from leaking out to other instances.
   352   // allocated memory from leaking out to other instances.
   353   CHeapBitMap(const CHeapBitMap&);
   353   CHeapBitMap(const CHeapBitMap&);
   354   CHeapBitMap& operator=(const CHeapBitMap&);
   354   CHeapBitMap& operator=(const CHeapBitMap&);
   355 
   355 
   356  public:
   356   // NMT memory type
   357   CHeapBitMap() : BitMap(NULL, 0) {}
   357   MEMFLAGS _flags;
       
   358 
       
   359  public:
       
   360   CHeapBitMap(MEMFLAGS flags = mtInternal) : BitMap(NULL, 0), _flags(flags) {}
   358   // Clears the bitmap memory.
   361   // Clears the bitmap memory.
   359   CHeapBitMap(idx_t size_in_bits);
   362   CHeapBitMap(idx_t size_in_bits, MEMFLAGS flags = mtInternal);
   360   ~CHeapBitMap();
   363   ~CHeapBitMap();
   361 
   364 
   362   // Resize the backing bitmap memory.
   365   // Resize the backing bitmap memory.
   363   //
   366   //
   364   // Old bits are transfered to the new memory
   367   // Old bits are transfered to the new memory