提交 a0e8ba6f 编写于 作者: P poonam

8211150: G1 Full GC not purging code root memory and hence causing memory leak

Reviewed-by: tschatzl, sjohanss
上级 c5726660
......@@ -1464,6 +1464,9 @@ bool G1CollectedHeap::do_collection(bool explicit_gc,
// Rebuild the strong code root lists for each region
rebuild_strong_code_roots();
// Purge code root memory
purge_code_root_memory();
if (true) { // FIXME
MetaspaceGC::compute_new_size();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册