--- old/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp 2014-11-02 20:11:10.162680949 -0800 +++ new/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp 2014-11-02 20:11:10.110680137 -0800 @@ -1117,6 +1117,14 @@ // 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);