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

Print this page

        

@@ -1047,10 +1047,13 @@
   resize_if_necessary_after_full_collection();
 
   // Rebuild the strong code root lists for each region
   rebuild_strong_code_roots();
 
+  // Purge code root memory
+  purge_code_root_memory();
+
   // Start a new incremental collection set for the next pause
   start_new_collection_set();
 
   _allocator->init_mutator_alloc_region();