< prev index next >

src/hotspot/share/jfr/leakprofiler/checkpoint/eventEmitter.cpp

Print this page

        

*** 109,119 **** const oop* object_addr = sample->object_addr(); traceid gc_root_id = 0; const Edge* edge = NULL; if (SafepointSynchronize::is_at_safepoint()) { ! edge = (const Edge*)(*object_addr)->mark().value(); } if (edge == NULL) { // In order to dump out a representation of the event // even though it was not reachable / too long to reach, // we need to register a top level edge for this object. --- 109,119 ---- const oop* object_addr = sample->object_addr(); traceid gc_root_id = 0; const Edge* edge = NULL; if (SafepointSynchronize::is_at_safepoint()) { ! edge = (const Edge*)(*object_addr)->mark().to_pointer(); } if (edge == NULL) { // In order to dump out a representation of the event // even though it was not reachable / too long to reach, // we need to register a top level edge for this object.
< prev index next >