diff -r 5a2761a6a564 -r 2a49d43aaa6a src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleWriter.cpp --- a/src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleWriter.cpp Tue Oct 08 15:16:36 2019 +0200 +++ b/src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleWriter.cpp Wed Oct 09 23:21:07 2019 +0200 @@ -355,10 +355,6 @@ static traceid get_gc_root_description_info_id(const Edge& edge, traceid id) { assert(edge.is_root(), "invariant"); - if (EdgeUtils::is_leak_edge(edge)) { - return 0; - } - if (root_infos == NULL) { root_infos = new RootDescriptionInfo(); }