< prev index next >

src/share/vm/gc/g1/g1CollectedHeap.cpp

Print this page
rev 10335 : imported patch 8147121-plab-statistics-added-too-late

*** 3382,3391 **** --- 3382,3395 ---- eagerly_reclaim_humongous_regions(); g1_policy()->clear_collection_set(); + record_obj_copy_mem_stats(); + _survivor_evac_stats.adjust_desired_plab_sz(); + _old_evac_stats.adjust_desired_plab_sz(); + // Start a new incremental collection set for the next pause. g1_policy()->start_incremental_cset_building(); clear_cset_fast_test();
*** 4699,4713 **** _allocator->release_gc_alloc_regions(evacuation_info); merge_per_thread_state_info(per_thread_states); - record_obj_copy_mem_stats(); - - _survivor_evac_stats.adjust_desired_plab_sz(); - _old_evac_stats.adjust_desired_plab_sz(); - // Reset and re-enable the hot card cache. // Note the counts for the cards in the regions in the // collection set are reset when the collection set is freed. G1HotCardCache* hot_card_cache = _cg1r->hot_card_cache(); hot_card_cache->reset_hot_cache(); --- 4703,4712 ----
< prev index next >