comparison src/hotspot/share/jfr/leakprofiler/checkpoint/eventEmitter.cpp @ 56006:90ead0febf56

8229258: Rework markOop and markOopDesc into a simpler mark word value carrier Reviewed-by: rkennke, coleenp, kbarrett, dcubed
author stefank
date Tue, 06 Aug 2019 10:48:21 +0200
parents 49102ba8cf14
children 947252a54b98
comparison
equal deleted inserted replaced
0:32ffe48e787a 1:e429320df820
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.