Skip to content
Permalink
Browse files
8275074: Cleanup unused code in JFR LeakProfiler
Reviewed-by: mgronlun
  • Loading branch information
rkennke committed Oct 12, 2021
1 parent e16b93a commit e393c5ea9d9a254cdacbd311498c55c560e8ab25
Showing 4 changed files with 0 additions and 245 deletions.
@@ -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");
@@ -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);

This file was deleted.

This file was deleted.

1 comment on commit e393c5e

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on e393c5e Oct 12, 2021

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.