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

Unified Diff: include/v8-profiler.h

Issue 9323064: I'd like to introduce kSynthetic type of nodes for Heap Profiler. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: GetType was removed. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/profile-generator.h » ('j') | src/profile-generator.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8-profiler.h
diff --git a/include/v8-profiler.h b/include/v8-profiler.h
index bcca65edbcab607196694d06e15b2464828f5253..2ec8aefad08b45c7d1d456146937462347b4535a 100644
--- a/include/v8-profiler.h
+++ b/include/v8-profiler.h
@@ -255,7 +255,11 @@ class V8EXPORT HeapGraphNode {
kClosure = 5, // Function closure.
kRegExp = 6, // RegExp.
kHeapNumber = 7, // Number stored in the heap.
- kNative = 8 // Native object (not from V8 heap).
+ kNative = 8, // Native object (not from V8 heap).
+ kArtificial = 9 // Artificial object, usualy used for grouping
mnaganov (inactive) 2012/02/06 15:37:22 Agreed offline to renamed this to kSynthetic. And
+ // snapshot items together for reducing
+ // postprocessing steps.
+ // example - group of detached DOM trees.
};
/** Returns node type (see HeapGraphNode::Type). */
« no previous file with comments | « no previous file | src/profile-generator.h » ('j') | src/profile-generator.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698