< prev index next >

src/share/vm/utilities/bitMap.hpp

Print this page
rev 10379 : 8151436: Leaner ArrayAllocator

*** 46,56 **** typedef enum { unknown_range, small_range, large_range } RangeSizeHint; private: - ArrayAllocator<bm_word_t, mtInternal> _map_allocator; bm_word_t* _map; // First word in bitmap idx_t _size; // Size of bitmap (in bits) // Puts the given value at the given offset, using resize() to size // the bitmap appropriately if needed using factor-of-two expansion. --- 46,55 ----
*** 112,122 **** static idx_t num_set_bits_from_table(unsigned char c); public: // Constructs a bitmap with no map, and size 0. ! BitMap() : _map(NULL), _size(0), _map_allocator(false) {} // Constructs a bitmap with the given map and size. BitMap(bm_word_t* map, idx_t size_in_bits); // Constructs an empty bitmap of the given size (that is, this clears the --- 111,121 ---- static idx_t num_set_bits_from_table(unsigned char c); public: // Constructs a bitmap with no map, and size 0. ! BitMap() : _map(NULL), _size(0) {} // Constructs a bitmap with the given map and size. BitMap(bm_word_t* map, idx_t size_in_bits); // Constructs an empty bitmap of the given size (that is, this clears the
< prev index next >