Skip to content

Commit

Permalink
8275074: Cleanup unused code in JFR LeakProfiler
Browse files Browse the repository at this point in the history
Reviewed-by: mgronlun
  • Loading branch information
rkennke committed Oct 12, 2021
1 parent e16b93a commit e393c5e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 245 deletions.
4 changes: 0 additions & 4 deletions src/hotspot/share/jfr/leakprofiler/chains/edgeUtils.cpp
Expand Up @@ -35,10 +35,6 @@
#include "oops/oopsHierarchy.hpp"
#include "runtime/handles.inline.hpp"

bool EdgeUtils::is_leak_edge(const Edge& edge) {
return (const Edge*)edge.pointee()->mark().to_pointer() == &edge;
}

static bool is_static_field(const oop ref_owner, const InstanceKlass* ik, int offset) {
assert(ref_owner != NULL, "invariant");
assert(ik != NULL, "invariant");
Expand Down
1 change: 0 additions & 1 deletion src/hotspot/share/jfr/leakprofiler/chains/edgeUtils.hpp
Expand Up @@ -36,7 +36,6 @@ class EdgeUtils : public AllStatic {
static const size_t root_context = 100;
static const size_t max_ref_chain_depth = leak_context + root_context;

static bool is_leak_edge(const Edge& edge);
static const Edge* root(const Edge& edge);
static const Edge* ancestor(const Edge& edge, size_t distance);

Expand Down
112 changes: 0 additions & 112 deletions src/hotspot/share/jfr/leakprofiler/utilities/saveRestore.cpp

This file was deleted.

128 changes: 0 additions & 128 deletions src/hotspot/share/jfr/leakprofiler/utilities/saveRestore.hpp

This file was deleted.

1 comment on commit e393c5e

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.