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

Issue 9323064: I'd like to introduce kSynthetic type of nodes for Heap Profiler. (Closed)

Created:
8 years, 10 months ago by loislo
Modified:
8 years, 10 months ago
CC:
yurys
Visibility:
Public.

Description

I will apply it to the nodes that can't be mapped to Heap object or Native object. As example there are 'Detached DOM Tree' nodes in WebKit. It is very useful to be able to see all such nodes grouped together. It can be done with help of some post processing but I did this explicitly on v8 side because it is much faster. At the moment this kind of nodes has kNative type. I'd like to hide these nodes from the Retainment View but I can filter them only by name. BUG=none TEST=HeapSnapshotRetainedObjectInfo

Patch Set 1 #

Total comments: 3

Patch Set 2 : GetType was removed. #

Total comments: 3

Patch Set 3 : kArtificial -> kSynthetic, GenericEntriesAllocator -> BasicHeapSnapshotEntriesAllocator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -35 lines) Patch
M include/v8-profiler.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M src/profile-generator.h View 1 2 3 chunks +7 lines, -4 lines 0 comments Download
M src/profile-generator.cc View 1 2 9 chunks +60 lines, -28 lines 0 comments Download
M test/cctest/test-heap-profiler.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
loislo
8 years, 10 months ago (2012-02-05 09:57:04 UTC) #1
mnaganov (inactive)
Following our VC dicsussion https://chromiumcodereview.appspot.com/9323064/diff/1/include/v8-profiler.h File include/v8-profiler.h (right): https://chromiumcodereview.appspot.com/9323064/diff/1/include/v8-profiler.h#newcode259 include/v8-profiler.h:259: kArtificial = 9 // Artificial ...
8 years, 10 months ago (2012-02-06 12:22:59 UTC) #2
mnaganov (inactive)
https://chromiumcodereview.appspot.com/9323064/diff/3001/include/v8-profiler.h File include/v8-profiler.h (right): https://chromiumcodereview.appspot.com/9323064/diff/3001/include/v8-profiler.h#newcode259 include/v8-profiler.h:259: kArtificial = 9 // Artificial object, usualy used for ...
8 years, 10 months ago (2012-02-06 15:37:22 UTC) #3
mnaganov (inactive)
8 years, 10 months ago (2012-02-06 16:59:37 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698