Commit 8eddfa8b authored by Pierre Langlois's avatar Pierre Langlois Committed by Commit Bot

[heap] Correctly report code LO space size with --trace-gc-verbose.

The --trace-gc-verbose flag was mistakenly reporting the generic LO space size
in place of the *code* LO space size.

Change-Id: Iddb83b540b0e0a201aa358649d91ef606721e0be
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1554693
Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60665}
parent 9010424f
......@@ -428,7 +428,7 @@ void Heap::PrintShortHeapStatistics() {
", available: %6" PRIuS
" KB"
", committed: %6" PRIuS " KB\n",
lo_space_->SizeOfObjects() / KB,
code_lo_space_->SizeOfObjects() / KB,
code_lo_space_->Available() / KB,
code_lo_space_->CommittedMemory() / KB);
PrintIsolate(isolate_,
......
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