7072527: CMS: JMM GC counters overcount in some cases

Avoid overcounting when CMS has concurrent mode failure.

Reviewed-by: ysr
This commit is contained in:
Krystal Mok 2011-08-02 14:37:35 +01:00 committed by Kevin Walls
parent abe5e3a903
commit 24e8905fdf
3 changed files with 95 additions and 16 deletions

View file

@ -1900,7 +1900,6 @@ class TraceCMSMemoryManagerStats : public TraceMemoryManagerStats {
public:
TraceCMSMemoryManagerStats(CMSCollector::CollectorState phase, GCCause::Cause cause);
TraceCMSMemoryManagerStats(GCCause::Cause cause);
};