Commit d8528e1d authored by Dominik Inführ's avatar Dominik Inführ Committed by Commit Bot

[heap] Incorporate code_lo_space_ in OldGenerationSizeOfObjects()

Bug: v8:10315
Change-Id: Ic0ccaa608c9b11258e6923919d3e72d23cedc5c2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2333249Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69192}
parent cc3a6b3a
......@@ -4891,7 +4891,7 @@ size_t Heap::OldGenerationSizeOfObjects() {
space = spaces.Next()) {
total += space->SizeOfObjects();
}
return total + lo_space_->SizeOfObjects();
return total + lo_space_->SizeOfObjects() + code_lo_space_->SizeOfObjects();
}
size_t Heap::GlobalSizeOfObjects() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment