[serializer] correctly output statistics.
kNumberOfSpaces includes map and large object spaces, kNumberOfPreallocatedSpaces does not. Therefore we need to output both separately. R=bmeurer@chromium.org Review-Url: https://codereview.chromium.org/2843353002 Cr-Commit-Position: refs/heads/master@{#44912}
This commit is contained in:
parent
10980eb56e
commit
b5de6719da
@ -76,6 +76,7 @@ void Serializer::OutputStatistics(const char* name) {
|
||||
for (uint32_t chunk_size : completed_chunks_[space]) s += chunk_size;
|
||||
PrintF("%16" PRIuS, s);
|
||||
}
|
||||
PrintF("%16d", num_maps_ * Map::kSize);
|
||||
PrintF("%16d\n", large_objects_total_size_);
|
||||
#ifdef OBJECT_PRINT
|
||||
PrintF(" Instance types (count and bytes):\n");
|
||||
|
Loading…
Reference in New Issue
Block a user