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(); |