comparison src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.inline.hpp @ 94:0834225a7916

6634032: CMS: Need CMSInitiatingPermOccupancyFraction for perm, divorcing from CMSInitiatingOccupancyFraction Summary: The option CMSInitiatingPermOccupancyFraction now controls perm triggering threshold. Even though the actual value of the threshold has not yet been changed, so there is no change in policy, we now have the infrastructure in place for dynamically deciding when to collect the perm gen, an issue that will be addressed in the near future. Reviewed-by: jmasa
author ysr
date Sun, 16 Mar 2008 21:57:25 -0700
parents a61af66fc99e
children d1605aabd0a1
comparison
equal deleted inserted replaced
15:d825a8a2bd39 94:0834225a7916
265 && _cmsGen->cmsSpace()->block_is_obj(addr)) 265 && _cmsGen->cmsSpace()->block_is_obj(addr))
266 || 266 ||
267 (_permGen->cmsSpace()->is_in_reserved(addr) 267 (_permGen->cmsSpace()->is_in_reserved(addr)
268 && _permGen->cmsSpace()->block_is_obj(addr)), 268 && _permGen->cmsSpace()->block_is_obj(addr)),
269 "must be object"); 269 "must be object");
270 return cms_should_unload_classes() && 270 return should_unload_classes() &&
271 _collectorState == Sweeping && 271 _collectorState == Sweeping &&
272 !_markBitMap.isMarked(addr); 272 !_markBitMap.isMarked(addr);
273 } 273 }
274 274
275 inline bool CMSCollector::should_abort_preclean() const { 275 inline bool CMSCollector::should_abort_preclean() const {