--- old/src/share/vm/gc/g1/g1CollectedHeap.cpp 2016-03-01 13:05:34.729215904 +0100 +++ new/src/share/vm/gc/g1/g1CollectedHeap.cpp 2016-03-01 13:05:34.634213065 +0100 @@ -3384,6 +3384,10 @@ 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(); @@ -4701,11 +4705,6 @@ 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.