mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-14 18:03:44 +00:00
8296774: Removed default MEMFLAGS value from CHeapBitMap
Reviewed-by: lkorinth, eosterlund
This commit is contained in:
parent
c3b285a8ac
commit
8cdcec44d8
@ -394,11 +394,11 @@ class ArenaBitMap : public GrowableBitMap<ArenaBitMap> {
|
||||
class ResourceBitMap : public GrowableBitMap<ResourceBitMap> {
|
||||
public:
|
||||
ResourceBitMap() : ResourceBitMap(0) {}
|
||||
ResourceBitMap(idx_t size_in_bits, bool clear = true);
|
||||
explicit ResourceBitMap(idx_t size_in_bits, bool clear = true);
|
||||
|
||||
bm_word_t* allocate(idx_t size_in_words) const;
|
||||
void free(bm_word_t* map, idx_t size_in_words) const {
|
||||
// ArenaBitMaps currently don't free memory.
|
||||
// ResourceBitMaps currently don't free memory.
|
||||
}
|
||||
};
|
||||
|
||||
@ -412,10 +412,8 @@ class CHeapBitMap : public GrowableBitMap<CHeapBitMap> {
|
||||
NONCOPYABLE(CHeapBitMap);
|
||||
|
||||
public:
|
||||
CHeapBitMap() : CHeapBitMap(mtInternal) {}
|
||||
explicit CHeapBitMap(MEMFLAGS flags) : GrowableBitMap(0, false), _flags(flags) {}
|
||||
// Clears the bitmap memory.
|
||||
CHeapBitMap(idx_t size_in_bits, MEMFLAGS flags = mtInternal, bool clear = true);
|
||||
CHeapBitMap(idx_t size_in_bits, MEMFLAGS flags, bool clear = true);
|
||||
~CHeapBitMap();
|
||||
|
||||
bm_word_t* allocate(idx_t size_in_words) const;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user