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

Issue 11344021: Heap explorer: Show representation of strings. (Closed)

Created:
8 years, 1 month ago by wingo
Modified:
8 years, 1 month ago
Reviewers:
yurys, Toon Verwaest, Yang
CC:
v8-dev
Visibility:
Public.

Description

Heap explorer: Show representation of strings. * src/profile-generator.cc (V8HeapExplorer::GetSystemEntryName): For maps of strings, return a name that encodes the representation strategy used for the strings. (V8HeapExplorer::ExtractReferences): For strings, visit the maps as well, so that the user can see what representation is used for their strings. See http://wingolog.org/pub/string-representations.png for an example of what it looks like. BUG= Committed: https://code.google.com/p/v8/source/detail?r=12973

Patch Set 1 #

Total comments: 2

Patch Set 2 : updated patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -5 lines) Patch
M src/profile-generator.cc View 1 3 chunks +14 lines, -5 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Toon Verwaest
lgtm with comment https://chromiumcodereview.appspot.com/11344021/diff/1/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/11344021/diff/1/src/profile-generator.cc#newcode1861 src/profile-generator.cc:1861: SetInternalReference(obj, entry, "map", obj->map(), HeapObject::kMapOffset); This ...
8 years, 1 month ago (2012-10-30 14:03:33 UTC) #1
Yang
drive-by comment. https://chromiumcodereview.appspot.com/11344021/diff/1/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/11344021/diff/1/src/profile-generator.cc#newcode1980 src/profile-generator.cc:1980: SetInternalReference(ss, entry, "parent", ss->parent(), SlicedString::kParentOffset); Please keep ...
8 years, 1 month ago (2012-10-30 14:39:39 UTC) #2
wingo
8 years, 1 month ago (2012-10-31 10:41:13 UTC) #3
On 2012/10/30 14:03:33, Toon Verwaest wrote:
> This seems to be unnecessary given that the same function is called in
> if(extract_indexed_refs) below.

Indeed, fixed.  Fixed the 80-char limit as well.

Powered by Google App Engine
This is Rietveld 408576698