Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp @ 17771:9fdaa79b0c27
8036703: Add trace event with statistics for the metaspace chunk free lists
Reviewed-by: stefank, mgerdin, coleenp, egahlin
author | ehelin |
---|---|
date | Fri, 21 Mar 2014 10:31:51 +0100 |
parents | 86e6d691f2e1 |
children | 7384f6a12fc1 |
comparison
equal
deleted
inserted
replaced
17770:5af31f70a866 | 17771:9fdaa79b0c27 |
---|---|
2494 _last_heap_summary = gch->create_heap_summary(); | 2494 _last_heap_summary = gch->create_heap_summary(); |
2495 _last_metaspace_summary = gch->create_metaspace_summary(); | 2495 _last_metaspace_summary = gch->create_metaspace_summary(); |
2496 } | 2496 } |
2497 | 2497 |
2498 void CMSCollector::report_heap_summary(GCWhen::Type when) { | 2498 void CMSCollector::report_heap_summary(GCWhen::Type when) { |
2499 _gc_tracer_cm->report_gc_heap_summary(when, _last_heap_summary, _last_metaspace_summary); | 2499 _gc_tracer_cm->report_gc_heap_summary(when, _last_heap_summary); |
2500 _gc_tracer_cm->report_metaspace_summary(when, _last_metaspace_summary); | |
2500 } | 2501 } |
2501 | 2502 |
2502 void CMSCollector::collect_in_foreground(bool clear_all_soft_refs, GCCause::Cause cause) { | 2503 void CMSCollector::collect_in_foreground(bool clear_all_soft_refs, GCCause::Cause cause) { |
2503 assert(_foregroundGCIsActive && !_foregroundGCShouldWait, | 2504 assert(_foregroundGCIsActive && !_foregroundGCShouldWait, |
2504 "Foreground collector should be waiting, not executing"); | 2505 "Foreground collector should be waiting, not executing"); |