1.1 --- a/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp Mon Jul 21 10:00:31 2014 +0200 1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp Wed Jul 23 09:03:32 2014 +0200 1.3 @@ -694,6 +694,9 @@ 1.4 clear_fcc(); 1.5 } 1.6 1.7 +bool OtherRegionsTable::is_empty() const { 1.8 + return occ_sparse() == 0 && occ_coarse() == 0 && _first_all_fine_prts == NULL; 1.9 +} 1.10 1.11 size_t OtherRegionsTable::occupied() const { 1.12 size_t sum = occ_fine();