Index: src/heap/spaces.cc |
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc |
index a5e2760bb09d0004cfc8dec007121f946fda583c..088a2b6b48d6d56ead065a158d8e15c191b89555 100644 |
--- a/src/heap/spaces.cc |
+++ b/src/heap/spaces.cc |
@@ -2410,6 +2410,8 @@ int FreeList::Free(Address start, int size_in_bytes) { |
Page* page = Page::FromAddress(start); |
+ owner()->heap()->OnFreeEvent(start, size_in_bytes); |
+ |
// Early return to drop too-small blocks on the floor. |
if (size_in_bytes <= kSmallListMin) { |
page->add_non_available_small_blocks(size_in_bytes); |