New heap profiler: add support for progress reporting and control.
authormikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 13 Dec 2010 10:42:06 +0000 (10:42 +0000)
committermikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 13 Dec 2010 10:42:06 +0000 (10:42 +0000)
commit5cf643aa422251553a68759ace499fd8b4f2cf8d
treeec4ed9ed4e0159e3a9004bf3b24dfb8c09f9c94a
parentb1a2cc1e48a0e6e149e3f2218e82928ad69f8dc5
New heap profiler: add support for progress reporting and control.

As taking a snapshot of a large heap takes noticeable time, it's
good to be able to monitor and control it.

The change itself is small, big code deletes and additions are in
fact moves. The only significant change is simplification of
approximated retained sizes calculation algorithm.

Review URL: http://codereview.chromium.org/5687003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5978 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8-profiler.h
include/v8.h
src/api.cc
src/heap-profiler.cc
src/heap-profiler.h
src/profile-generator-inl.h
src/profile-generator.cc
src/profile-generator.h
src/runtime.cc
test/cctest/test-heap-profiler.cc