src/hotspot/share/jfr/leakprofiler/chains/edgeUtils.cpp
branchJEP-349-branch
changeset 58154 060d9d139109
parent 57777 90ead0febf56
child 58679 9c3209ff7550
child 59056 15936b142f86
--- a/src/hotspot/share/jfr/leakprofiler/chains/edgeUtils.cpp	Thu Sep 12 11:35:02 2019 +0200
+++ b/src/hotspot/share/jfr/leakprofiler/chains/edgeUtils.cpp	Sat Sep 14 13:03:44 2019 +0200
@@ -35,7 +35,7 @@
 #include "runtime/handles.inline.hpp"
 
 bool EdgeUtils::is_leak_edge(const Edge& edge) {
-  return (const Edge*)edge.pointee()->mark() == &edge;
+  return (const Edge*)edge.pointee()->mark().to_pointer() == &edge;
 }
 
 static int field_offset(const StoredEdge& edge) {