hotspot/src/share/vm/utilities/bitMap.cpp
changeset 16685 41c34debcde0
parent 13195 be27e1b6a4b9
child 18092 202cf28d5b82
--- a/hotspot/src/share/vm/utilities/bitMap.cpp	Wed Apr 10 13:27:35 2013 +0200
+++ b/hotspot/src/share/vm/utilities/bitMap.cpp	Wed Apr 10 14:26:49 2013 +0200
@@ -516,6 +516,10 @@
   return sum;
 }
 
+void BitMap::print_on_error(outputStream* st, const char* prefix) const {
+  st->print_cr("%s[" PTR_FORMAT ", " PTR_FORMAT ")",
+      prefix, map(), (char*)map() + (size() >> LogBitsPerByte));
+}
 
 #ifndef PRODUCT