< prev index next >
src/hotspot/share/utilities/bitMap.hpp
Print this page
@@ -42,11 +42,11 @@
// The BitMap class doesn't use virtual calls on purpose,
// this ensures that we don't get a vtable unnecessarily.
//
// The allocation of the backing storage for the BitMap are handled by
// the subclasses. BitMap doesn't allocate or delete backing storage.
-class BitMap VALUE_OBJ_CLASS_SPEC {
+class BitMap {
friend class BitMap2D;
public:
typedef size_t idx_t; // Type used for bit and word indices.
typedef uintptr_t bm_word_t; // Element type of array that represents
@@ -379,11 +379,11 @@
// Can be called on previously initialized bitmaps.
void reinitialize(idx_t size_in_bits);
};
// Convenience class wrapping BitMap which provides multiple bits per slot.
-class BitMap2D VALUE_OBJ_CLASS_SPEC {
+class BitMap2D {
public:
typedef BitMap::idx_t idx_t; // Type used for bit and word indices.
typedef BitMap::bm_word_t bm_word_t; // Element type of array that
// represents the bitmap.
private:
@@ -425,11 +425,11 @@
void at_put_grow(idx_t slot_index, idx_t bit_within_slot_index, bool value);
};
// Closure for iterating over BitMaps
-class BitMapClosure VALUE_OBJ_CLASS_SPEC {
+class BitMapClosure {
public:
// Callback when bit in map is set. Should normally return "true";
// return of false indicates that the bitmap iteration should terminate.
virtual bool do_bit(BitMap::idx_t offset) = 0;
};
< prev index next >