equal
deleted
inserted
replaced
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. |