Mercurial > hg > truffle
comparison src/share/vm/utilities/bitMap.cpp @ 9076:7b835924c31c
8011872: Include Bit Map addresses in the hs_err files
Reviewed-by: brutisso, jmasa
author | stefank |
---|---|
date | Wed, 10 Apr 2013 14:26:49 +0200 |
parents | d2a62e0f25eb |
children | b9d151496930 |
comparison
equal
deleted
inserted
replaced
9075:ba42fd5e00e6 | 9076:7b835924c31c |
---|---|
514 } | 514 } |
515 } | 515 } |
516 return sum; | 516 return sum; |
517 } | 517 } |
518 | 518 |
519 void BitMap::print_on_error(outputStream* st, const char* prefix) const { | |
520 st->print_cr("%s[" PTR_FORMAT ", " PTR_FORMAT ")", | |
521 prefix, map(), (char*)map() + (size() >> LogBitsPerByte)); | |
522 } | |
519 | 523 |
520 #ifndef PRODUCT | 524 #ifndef PRODUCT |
521 | 525 |
522 void BitMap::print_on(outputStream* st) const { | 526 void BitMap::print_on(outputStream* st) const { |
523 tty->print("Bitmap(%d):", size()); | 527 tty->print("Bitmap(%d):", size()); |