comparison src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp @ 20296:a3953c777565

8027959: Early reclamation of large objects in G1 Summary: Try to reclaim humongous objects at every young collection after doing a conservative estimate of its liveness. Reviewed-by: brutisso, mgerdin
author tschatzl
date Wed, 23 Jul 2014 09:03:32 +0200
parents 2c6ef90f030a
children eec72fa4b108
comparison
equal deleted inserted replaced
20295:3f2894c5052e 20296: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();