< prev index next >

src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp

Print this page

        

*** 1115,1124 **** --- 1115,1132 ---- // Fraction of current occupancy at which to start a CMS collection which // will collect this generation (at least). double _initiating_occupancy; + // Set to true, if another GC thread already had a promotion failure. + bool _has_promotion_failed; + + // Support for CMSFastPromotionFailure + bool has_promotion_failed() { return _has_promotion_failed; } + bool set_promotion_failed() { _has_promotion_failed = true; } + bool reset_promotion_failed() { _has_promotion_failed = false; } + protected: // Shrink generation by specified size (returns false if unable to shrink) void shrink_free_list_by(size_t bytes); // Update statistics for GC
< prev index next >