--- old/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp 2014-07-15 10:22:42.538300204 +0200 +++ new/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp 2014-07-15 10:22:42.459297886 +0200 @@ -695,6 +695,9 @@ clear_fcc(); } +bool OtherRegionsTable::is_empty() const { + return occ_sparse() == 0 && occ_coarse() == 0 && _first_all_fine_prts == NULL; +} size_t OtherRegionsTable::occupied() const { size_t sum = occ_fine();