< prev index next >

src/share/vm/utilities/bitMap.hpp

Print this page
rev 12265 : 8168493: Convert TestBitMap_test to GTest
Reviewed-by: duke

*** 310,320 **** BitMapView(bm_word_t* map, idx_t size_in_bits) : BitMap(map, size_in_bits) {} }; // A BitMap with storage in a ResourceArea. class ResourceBitMap : public BitMap { - friend class TestBitMap; public: ResourceBitMap() : BitMap(NULL, 0) {} // Clears the bitmap memory. ResourceBitMap(idx_t size_in_bits); --- 310,319 ----
*** 349,359 **** ArenaBitMap& operator=(const ArenaBitMap&); }; // A BitMap with storage in the CHeap. class CHeapBitMap : public BitMap { - friend class TestBitMap; private: // Don't allow copy or assignment, to prevent the // allocated memory from leaking out to other instances. CHeapBitMap(const CHeapBitMap&); --- 348,357 ----
< prev index next >