Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.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 | 8617e38bb4cb |
children | f36e073d56a4 |
comparison
equal
deleted
inserted
replaced
9075:ba42fd5e00e6 | 9076:7b835924c31c |
---|---|
2804 result ? "IS" : "is NOT"); | 2804 result ? "IS" : "is NOT"); |
2805 return result; | 2805 return result; |
2806 } else { | 2806 } else { |
2807 gclog_or_tty->print_cr("Could not compute result"); | 2807 gclog_or_tty->print_cr("Could not compute result"); |
2808 return false; | 2808 return false; |
2809 } | |
2810 } | |
2811 | |
2812 | |
2813 void | |
2814 CMSCollector::print_on_error(outputStream* st) { | |
2815 CMSCollector* collector = ConcurrentMarkSweepGeneration::_collector; | |
2816 if (collector != NULL) { | |
2817 CMSBitMap* bitmap = &collector->_markBitMap; | |
2818 st->print_cr("Marking Bits: (CMSBitMap*) " PTR_FORMAT, bitmap); | |
2819 bitmap->print_on_error(st, " Bits: "); | |
2820 | |
2821 st->cr(); | |
2822 | |
2823 CMSBitMap* mut_bitmap = &collector->_modUnionTable; | |
2824 st->print_cr("Mod Union Table: (CMSBitMap*) " PTR_FORMAT, mut_bitmap); | |
2825 mut_bitmap->print_on_error(st, " Bits: "); | |
2809 } | 2826 } |
2810 } | 2827 } |
2811 | 2828 |
2812 //////////////////////////////////////////////////////// | 2829 //////////////////////////////////////////////////////// |
2813 // CMS Verification Support | 2830 // CMS Verification Support |
6529 return; | 6546 return; |
6530 } | 6547 } |
6531 } | 6548 } |
6532 } | 6549 } |
6533 | 6550 |
6551 void CMSBitMap::print_on_error(outputStream* st, const char* prefix) const { | |
6552 _bm.print_on_error(st, prefix); | |
6553 } | |
6554 | |
6534 #ifndef PRODUCT | 6555 #ifndef PRODUCT |
6535 void CMSBitMap::assert_locked() const { | 6556 void CMSBitMap::assert_locked() const { |
6536 CMSLockVerifier::assert_locked(lock()); | 6557 CMSLockVerifier::assert_locked(lock()); |
6537 } | 6558 } |
6538 | 6559 |