--- old/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp 2014-11-07 15:13:04.061425792 -0800 +++ new/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp 2014-11-07 15:13:04.009424981 -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; } + void set_promotion_failed() { _has_promotion_failed = true; } + void 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);