Index: src/mark-compact.cc |
diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
index b90ecf0698a53bbc8fe348064a1b23793e018b3a..117da368e302da104763d5b2891c07432615cee3 100644 |
--- a/src/mark-compact.cc |
+++ b/src/mark-compact.cc |
@@ -2367,6 +2367,7 @@ void MarkCompactCollector::MigrateObject(Address dst, |
Address src, |
int size, |
AllocationSpace dest) { |
+ HEAP_PROFILE(heap(), ObjectMoveEvent(src, dst)); |
Vyacheslav Egorov (Chromium)
2011/09/26 15:52:00
For code objects do you expect to get both ObjectM
mnaganov (inactive)
2011/09/26 15:58:24
Yes, because CPU and Heap profilers are independen
|
if (dest == OLD_POINTER_SPACE || dest == LO_SPACE) { |
Address src_slot = src; |
Address dst_slot = dst; |