v8/include
loislo@chromium.org f6b7ec4da0 HeapProfiler: very slow ~4min "take snapshot time" for 80MB gmail heap.
The reason of that is a number of cons strings in the app.
The app constructs a json string and as a result v8 heap has
a very long chain of cons strings.

Profiler counts all these strings as plain String objects and
assign the content of the strings as node names.

It required O(n^2) time and O(n^2) memory.

Solution: I introduced two new types, kConsString and kSliced string.
They do not use the content of the string for names. So the problem disappeared.

The heap profiler usability problem will be solved on Blink side.

BUG=285770
R=yangguo@chromium.org

Review URL: https://codereview.chromium.org/23460027

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16611 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-10 11:12:35 +00:00
..
v8-debug.h Remove deprecated methods from debugger API 2013-08-28 07:11:37 +00:00
v8-preparser.h Define V8EXPORT only in v8.h and use it in the other headers 2013-08-06 14:37:35 +00:00
v8-profiler.h HeapProfiler: very slow ~4min "take snapshot time" for 80MB gmail heap. 2013-09-10 11:12:35 +00:00
v8-testing.h Define V8EXPORT only in v8.h and use it in the other headers 2013-08-06 14:37:35 +00:00
v8.h Add a ResourceConstraint for the embedder to specify that V8 is running on a memory constrained device. 2013-09-10 10:57:00 +00:00
v8config.h Fix typo breaking Mac build after commit r16450. 2013-08-30 12:30:09 +00:00
v8stdint.h Move OS/compiler/feature detection to public v8config.h header. 2013-08-23 07:32:25 +00:00