src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp

changeset 7010
a3953c777565
parent 6992
2c6ef90f030a
child 7049
eec72fa4b108
equal deleted inserted replaced
7009:3f2894c5052e 7010:a3953c777565
692 // Since we may have deleted a from_card_cache entry from the RS, clear 692 // Since we may have deleted a from_card_cache entry from the RS, clear
693 // the FCC. 693 // the FCC.
694 clear_fcc(); 694 clear_fcc();
695 } 695 }
696 696
697 bool OtherRegionsTable::is_empty() const {
698 return occ_sparse() == 0 && occ_coarse() == 0 && _first_all_fine_prts == NULL;
699 }
697 700
698 size_t OtherRegionsTable::occupied() const { 701 size_t OtherRegionsTable::occupied() const {
699 size_t sum = occ_fine(); 702 size_t sum = occ_fine();
700 sum += occ_sparse(); 703 sum += occ_sparse();
701 sum += occ_coarse(); 704 sum += occ_coarse();

mercurial