src/hotspot/share/jfr/leakprofiler/checkpoint/eventEmitter.cpp
changeset 57777 90ead0febf56
parent 55571 49102ba8cf14
child 57811 947252a54b98
equal deleted inserted replaced
57774:21dccfac0ec5 57777:90ead0febf56
   109 
   109 
   110   const oop* object_addr = sample->object_addr();
   110   const oop* object_addr = sample->object_addr();
   111   traceid gc_root_id = 0;
   111   traceid gc_root_id = 0;
   112   const Edge* edge = NULL;
   112   const Edge* edge = NULL;
   113   if (SafepointSynchronize::is_at_safepoint()) {
   113   if (SafepointSynchronize::is_at_safepoint()) {
   114     edge = (const Edge*)(*object_addr)->mark();
   114     edge = (const Edge*)(*object_addr)->mark().to_pointer();
   115   }
   115   }
   116   if (edge == NULL) {
   116   if (edge == NULL) {
   117     // In order to dump out a representation of the event
   117     // In order to dump out a representation of the event
   118     // even though it was not reachable / too long to reach,
   118     // even though it was not reachable / too long to reach,
   119     // we need to register a top level edge for this object.
   119     // we need to register a top level edge for this object.