< prev index next >

src/share/vm/gc_implementation/g1/concurrentMark.cpp

Print this page
rev 7407 : 8065227: Report allocation context stats at end of cleanup
Summary: Moved allocation context update from remark to the cleanup phase.
Reviewed-by:

*** 2121,2130 **** --- 2121,2131 ---- MetaspaceGC::compute_new_size(); // We reclaimed old regions so we should calculate the sizes to make // sure we update the old gen/space data. g1h->g1mm()->update_sizes(); + g1h->allocation_context_stats().update_after_mark(); g1h->trace_heap_after_concurrent_cycle(); } void ConcurrentMark::completeCleanup() {
*** 3241,3251 **** _max_worker_id, n_workers); _g1h->set_par_threads(n_workers); _g1h->workers()->run_task(&g1_par_agg_task); _g1h->set_par_threads(0); - _g1h->allocation_context_stats().update_at_remark(); } // Clear the per-worker arrays used to store the per-region counting data void ConcurrentMark::clear_all_count_data() { // Clear the global card bitmap - it will be filled during --- 3242,3251 ----
< prev index next >