8340105: Expose BitMap::print_on in release builds
Reviewed-by: stuefe, stefank
This commit is contained in:
parent
0e0f10f952
commit
74add0e2e0
@ -705,8 +705,6 @@ void BitMap::IteratorImpl::assert_not_empty() const {
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef PRODUCT
|
||||
|
||||
void BitMap::print_on(outputStream* st) const {
|
||||
st->print("Bitmap (" SIZE_FORMAT " bits):", size());
|
||||
for (idx_t index = 0; index < size(); index++) {
|
||||
@ -722,8 +720,6 @@ void BitMap::print_on(outputStream* st) const {
|
||||
st->cr();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
template class GrowableBitMap<ArenaBitMap>;
|
||||
template class GrowableBitMap<ResourceBitMap>;
|
||||
template class GrowableBitMap<CHeapBitMap>;
|
||||
|
@ -391,13 +391,10 @@ class BitMap {
|
||||
bool is_empty() const;
|
||||
|
||||
void write_to(bm_word_t* buffer, size_t buffer_size_in_bytes) const;
|
||||
void print_on_error(outputStream* st, const char* prefix) const;
|
||||
|
||||
#ifndef PRODUCT
|
||||
public:
|
||||
// Printing
|
||||
void print_on_error(outputStream* st, const char* prefix) const;
|
||||
void print_on(outputStream* st) const;
|
||||
#endif
|
||||
};
|
||||
|
||||
// Implementation support for bitmap iteration. While it could be used to
|
||||
|
Loading…
Reference in New Issue
Block a user