Index: src/heap/object-stats.cc |
diff --git a/src/heap/object-stats.cc b/src/heap/object-stats.cc |
index c1566abfc5cf6accc1a20fc666310b57d0951c3b..195723e86d8526e7e75abee45d402f16f7c78a55 100644 |
--- a/src/heap/object-stats.cc |
+++ b/src/heap/object-stats.cc |
@@ -186,6 +186,12 @@ |
heap->object_stats_->RecordFixedArraySubTypeStats(DESCRIPTOR_ARRAY_SUB_TYPE, |
fixed_array_size); |
} |
+ if (TransitionArray::IsFullTransitionArray(map_obj->raw_transitions())) { |
+ int fixed_array_size = |
+ TransitionArray::cast(map_obj->raw_transitions())->Size(); |
+ heap->object_stats_->RecordFixedArraySubTypeStats(TRANSITION_ARRAY_SUB_TYPE, |
+ fixed_array_size); |
+ } |
if (map_obj->has_code_cache()) { |
CodeCache* cache = CodeCache::cast(map_obj->code_cache()); |
heap->object_stats_->RecordFixedArraySubTypeStats( |