Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 4f09e675414c4d5e35d014f86273a08faef747ef..763a115883929074b07491adbdca83bf03197370 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -2101,6 +2101,7 @@ AllocationResult Heap::AllocateMap(InstanceType instance_type, |
AllocationResult allocation = AllocateRaw(Map::kSize, MAP_SPACE); |
if (!allocation.To(&result)) return allocation; |
+ isolate()->counters()->maps_created()->Increment(); |
result->set_map_no_write_barrier(meta_map()); |
Map* map = Map::cast(result); |
map->set_instance_type(instance_type); |