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

Print this page

        

*** 1044,1053 **** --- 1044,1056 ---- assert(num_free_regions() == 0, "we should not have added any free regions"); rebuild_region_sets(false /* free_list_only */); abort_refinement(); resize_if_necessary_after_full_collection(); + // Purge code root memory + purge_code_root_memory(); + // Rebuild the strong code root lists for each region rebuild_strong_code_roots(); // Start a new incremental collection set for the next pause start_new_collection_set();