Do a GC pass prior to collecting a heap profile.
authormikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 4 May 2010 14:30:22 +0000 (14:30 +0000)
committermikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 4 May 2010 14:30:22 +0000 (14:30 +0000)
commit3e54b5cbb02cc27692f1920af7f514e95b77adb9
tree1c37c4a72fbd001a0dd41582686e5c85c6d13d09
parent4fdf57ace030792255be7913e53351b0458e0a5d
Do a GC pass prior to collecting a heap profile.

It seems that doing an extra GC pass results in less cluttered heap snapshots.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4580 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/api.cc