mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
6581734: CMS Old Gen's collection usage is zero after GC which is incorrect
Management code enabled for use by a concurrent collector. Reviewed-by: mchung, ysr
This commit is contained in:
parent
428d02d5d7
commit
5fb46fd5a8
9 changed files with 435 additions and 79 deletions
|
@ -507,6 +507,7 @@ class CMSCollector: public CHeapObj {
|
|||
friend class VM_CMS_Operation;
|
||||
friend class VM_CMS_Initial_Mark;
|
||||
friend class VM_CMS_Final_Remark;
|
||||
friend class TraceCMSMemoryManagerStats;
|
||||
|
||||
private:
|
||||
jlong _time_of_last_gc;
|
||||
|
@ -1858,3 +1859,11 @@ public:
|
|||
_dead_bit_map(dead_bit_map) {}
|
||||
size_t do_blk(HeapWord* addr);
|
||||
};
|
||||
|
||||
class TraceCMSMemoryManagerStats : public TraceMemoryManagerStats {
|
||||
|
||||
public:
|
||||
TraceCMSMemoryManagerStats(CMSCollector::CollectorState phase);
|
||||
TraceCMSMemoryManagerStats();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue