Commit 0239714a authored by John Zhang's avatar John Zhang

Added debug output for GC dumping

parent 4036d54b
Pipeline #902 failed with stages
in 11 minutes and 4 seconds
......@@ -138,6 +138,9 @@ impl HeapDump {
let field_addr = base + *offset;
let edge = unsafe { field_addr.load::<Address>() };
trace!("object reference from {} -> {} at +[{}]", base,
edge, offset);
if !edge.is_zero() && !self.objects.contains_key(&edge) {
work_queue.push(edge);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment