--- a/src/hotspot/share/jfr/leakprofiler/chains/bfsClosure.cpp Fri Aug 16 09:18:41 2019 +0200
+++ b/src/hotspot/share/jfr/leakprofiler/chains/bfsClosure.cpp Tue Aug 06 10:48:21 2019 +0200
@@ -131,7 +131,7 @@
if (!_mark_bits->is_marked(pointee)) {
_mark_bits->mark_obj(pointee);
// is the pointee a sample object?
- if (NULL == pointee->mark()) {
+ if (NULL == pointee->mark().to_pointer()) {
add_chain(reference, pointee);
}
@@ -148,7 +148,7 @@
void BFSClosure::add_chain(const oop* reference, const oop pointee) {
assert(pointee != NULL, "invariant");
- assert(NULL == pointee->mark(), "invariant");
+ assert(NULL == pointee->mark().to_pointer(), "invariant");
Edge leak_edge(_current_parent, reference);
_edge_store->put_chain(&leak_edge, _current_parent == NULL ? 1 : _current_frontier_level + 2);
}