Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Issue 10823202: Add heap space sizes and external memory counter to V8 statistics extension. (Closed)

Created:
8 years, 4 months ago by ulan
Modified:
8 years, 4 months ago
Reviewers:
Yang
CC:
v8-dev
Visibility:
Public.

Description

Add heap space sizes and external memory counter to V8 statistics extension. R=yangguo@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=12272

Patch Set 1 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -18 lines) Patch
M src/extensions/statistics-extension.cc View 2 chunks +64 lines, -18 lines 1 comment Download
M src/heap.h View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
ulan
PTAL
8 years, 4 months ago (2012-08-07 15:01:24 UTC) #1
Yang
8 years, 4 months ago (2012-08-07 15:13:04 UTC) #2
LGTM with comment.

https://chromiumcodereview.appspot.com/10823202/diff/2001/src/extensions/stat...
File src/extensions/statistics-extension.cc (right):

https://chromiumcodereview.appspot.com/10823202/diff/2001/src/extensions/stat...
src/extensions/statistics-extension.cc:142:
"amount_of_external_allocated_memory");
It seems to me that a macro would save a lot of space since Size(), Available()
and CommittedMemory() are used repeatedly.

Powered by Google App Engine
This is Rietveld 408576698