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

Issue 7248058: Heap profiler: annotate fixed arrays by their purpose. (Closed)

Created:
9 years, 5 months ago by mnaganov (inactive)
Modified:
9 years, 5 months ago
Reviewers:
Vitaly Repeshko
CC:
v8-dev
Visibility:
Public.

Description

Heap profiler: annotate fixed arrays by their purpose. This helps understanding what is a particular array for by just looking at its name. R=vitalyr@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=8494

Patch Set 1 #

Total comments: 3

Patch Set 2 : Comments addressed #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -20 lines) Patch
M src/profile-generator.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/profile-generator.cc View 1 10 chunks +87 lines, -20 lines 4 comments Download

Messages

Total messages: 5 (0 generated)
mnaganov (inactive)
9 years, 5 months ago (2011-06-30 07:39:31 UTC) #1
Vitaly Repeshko
http://codereview.chromium.org/7248058/diff/1/src/profile-generator.cc File src/profile-generator.cc (right): http://codereview.chromium.org/7248058/diff/1/src/profile-generator.cc#newcode1877 src/profile-generator.cc:1877: if (js_fun->unchecked_context()->IsContext()) { How about instead of having TagFoo ...
9 years, 5 months ago (2011-06-30 12:41:44 UTC) #2
mnaganov (inactive)
http://codereview.chromium.org/7248058/diff/1/src/profile-generator.cc File src/profile-generator.cc (right): http://codereview.chromium.org/7248058/diff/1/src/profile-generator.cc#newcode1877 src/profile-generator.cc:1877: if (js_fun->unchecked_context()->IsContext()) { On 2011/06/30 12:41:44, Vitaly Repeshko wrote: ...
9 years, 5 months ago (2011-06-30 13:37:05 UTC) #3
Vitaly Repeshko
LGTM http://codereview.chromium.org/7248058/diff/4001/src/profile-generator.cc File src/profile-generator.cc (right): http://codereview.chromium.org/7248058/diff/4001/src/profile-generator.cc#newcode1903 src/profile-generator.cc:1903: TagObject(context->jsfunction_result_caches(), "(context func caches)"); nit: Maybe we should ...
9 years, 5 months ago (2011-06-30 13:45:27 UTC) #4
mnaganov (inactive)
9 years, 5 months ago (2011-06-30 14:15:22 UTC) #5
http://codereview.chromium.org/7248058/diff/4001/src/profile-generator.cc
File src/profile-generator.cc (right):

http://codereview.chromium.org/7248058/diff/4001/src/profile-generator.cc#new...
src/profile-generator.cc:1903: TagObject(context->jsfunction_result_caches(),
"(context func caches)");
On 2011/06/30 13:45:27, Vitaly Repeshko wrote:
> nit: Maybe we should avoid abbreviations? The names are already quite
confusing.

Done.

http://codereview.chromium.org/7248058/diff/4001/src/profile-generator.cc#new...
src/profile-generator.cc:1916: objects_tags_.SetTag(map->instance_descriptors(),
"(map descriptors)");
On 2011/06/30 13:45:27, Vitaly Repeshko wrote:
> Use TagObject here?

Done.

Powered by Google App Engine
This is Rietveld 408576698