memory-infra: Reports per-isolate size of scripts source.

This reports the total size of source code size for all external scripts
in a V8 isolate. As with other V8 code stats, this doesn't distinguish
between live and dead objects and doesn't scan the young generation.

Bug: 837659
Change-Id: I746729f3c167cbad847599b4b128fa517a116c7e
Reviewed-on: https://chromium-review.googlesource.com/1032936
Reviewed-by: Primiano Tucci <primiano@chromium.org>
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Commit-Queue: Benoit L <lizeb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#559473}
1 file changed