< prev index next >
src/hotspot/share/utilities/bitMap.hpp
Print this page
rev 57095 : [mq]: use
rev 57096 : [mq]: trailing_semi
*** 26,35 ****
--- 26,36 ----
#define SHARE_UTILITIES_BITMAP_HPP
#include "memory/allocation.hpp"
#include "runtime/atomic.hpp"
#include "utilities/align.hpp"
+ #include "utilities/macros.hpp"
// Forward decl;
class BitMapClosure;
// Operations for bitmaps represented as arrays of unsigned integers.
*** 366,388 ****
public:
// Clears the bitmap memory.
ArenaBitMap(Arena* arena, idx_t size_in_bits);
private:
! // Don't allow copy or assignment.
! ArenaBitMap(const ArenaBitMap&);
! ArenaBitMap& operator=(const ArenaBitMap&);
};
// A BitMap with storage in the CHeap.
class CHeapBitMap : public BitMap {
private:
// Don't allow copy or assignment, to prevent the
// allocated memory from leaking out to other instances.
! CHeapBitMap(const CHeapBitMap&);
! CHeapBitMap& operator=(const CHeapBitMap&);
// NMT memory type
MEMFLAGS _flags;
public:
--- 367,386 ----
public:
// Clears the bitmap memory.
ArenaBitMap(Arena* arena, idx_t size_in_bits);
private:
! NONCOPYABLE(ArenaBitMap);
};
// A BitMap with storage in the CHeap.
class CHeapBitMap : public BitMap {
private:
// Don't allow copy or assignment, to prevent the
// allocated memory from leaking out to other instances.
! NONCOPYABLE(CHeapBitMap);
// NMT memory type
MEMFLAGS _flags;
public:
< prev index next >