changeset 52007:b16820c2336d

8211150: G1 Full GC not purging code root memory and hence causing memory leak Reviewed-by: tschatzl, sjohanss
author poonam
date Wed, 03 Oct 2018 19:30:49 +0000
parents 82dc590fa586
children 6f04692c7d51
files src/hotspot/share/gc/g1/g1CollectedHeap.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/gc/g1/g1CollectedHeap.cpp	Wed Oct 03 07:41:28 2018 -0400
+++ b/src/hotspot/share/gc/g1/g1CollectedHeap.cpp	Wed Oct 03 19:30:49 2018 +0000
@@ -1049,6 +1049,9 @@
   // 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();