Skip to content

Commit e393c5e

Browse files
committedOct 12, 2021
8275074: Cleanup unused code in JFR LeakProfiler
Reviewed-by: mgronlun
1 parent e16b93a commit e393c5e

File tree

4 files changed

+0
-245
lines changed

4 files changed

+0
-245
lines changed
 

‎src/hotspot/share/jfr/leakprofiler/chains/edgeUtils.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@
3535
#include "oops/oopsHierarchy.hpp"
3636
#include "runtime/handles.inline.hpp"
3737

38-
bool EdgeUtils::is_leak_edge(const Edge& edge) {
39-
return (const Edge*)edge.pointee()->mark().to_pointer() == &edge;
40-
}
41-
4238
static bool is_static_field(const oop ref_owner, const InstanceKlass* ik, int offset) {
4339
assert(ref_owner != NULL, "invariant");
4440
assert(ik != NULL, "invariant");

‎src/hotspot/share/jfr/leakprofiler/chains/edgeUtils.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ class EdgeUtils : public AllStatic {
3636
static const size_t root_context = 100;
3737
static const size_t max_ref_chain_depth = leak_context + root_context;
3838

39-
static bool is_leak_edge(const Edge& edge);
4039
static const Edge* root(const Edge& edge);
4140
static const Edge* ancestor(const Edge& edge, size_t distance);
4241

‎src/hotspot/share/jfr/leakprofiler/utilities/saveRestore.cpp

-112
This file was deleted.

‎src/hotspot/share/jfr/leakprofiler/utilities/saveRestore.hpp

-128
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.