comparison src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp @ 1703:f6f3eef8a521

6581734: CMS Old Gen's collection usage is zero after GC which is incorrect Summary: Management code enabled for use by a concurrent collector. Reviewed-by: mchung, ysr
author kevinw
date Fri, 30 Jul 2010 22:43:50 +0100
parents c18cbe5936b8
children be3f9c242c9d
comparison
equal deleted inserted replaced
1594:b9bc732be7c0 1703:f6f3eef8a521
505 NOT_PRODUCT(friend class ScanMarkedObjectsAgainClosure;) // assertion on _overflow_list 505 NOT_PRODUCT(friend class ScanMarkedObjectsAgainClosure;) // assertion on _overflow_list
506 friend class ReleaseForegroundGC; // to access _foregroundGCShouldWait 506 friend class ReleaseForegroundGC; // to access _foregroundGCShouldWait
507 friend class VM_CMS_Operation; 507 friend class VM_CMS_Operation;
508 friend class VM_CMS_Initial_Mark; 508 friend class VM_CMS_Initial_Mark;
509 friend class VM_CMS_Final_Remark; 509 friend class VM_CMS_Final_Remark;
510 friend class TraceCMSMemoryManagerStats;
510 511
511 private: 512 private:
512 jlong _time_of_last_gc; 513 jlong _time_of_last_gc;
513 void update_time_of_last_gc(jlong now) { 514 void update_time_of_last_gc(jlong now) {
514 _time_of_last_gc = now; 515 _time_of_last_gc = now;
1856 _sp(sp), 1857 _sp(sp),
1857 _live_bit_map(live_bit_map), 1858 _live_bit_map(live_bit_map),
1858 _dead_bit_map(dead_bit_map) {} 1859 _dead_bit_map(dead_bit_map) {}
1859 size_t do_blk(HeapWord* addr); 1860 size_t do_blk(HeapWord* addr);
1860 }; 1861 };
1862
1863 class TraceCMSMemoryManagerStats : public TraceMemoryManagerStats {
1864
1865 public:
1866 TraceCMSMemoryManagerStats(CMSCollector::CollectorState phase);
1867 TraceCMSMemoryManagerStats();
1868 };
1869