HeapProfiler: for the test purposes we would like to trace object movements.
authorloislo@chromium.org <loislo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 18 Oct 2013 09:40:00 +0000 (09:40 +0000)
committerloislo@chromium.org <loislo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 18 Oct 2013 09:40:00 +0000 (09:40 +0000)
commitc748e7bbc9c0a3bbeff26bc899ae7f7401115c17
tree81b0ed185d68e5e086a98840559de50b672939dc
parent847f4ce61641004d88c5cfbc28ea4ed83ea16d09
HeapProfiler: for the test purposes we would like to trace object movements.

When we have an untracked allocations we need to fix it.
It is a bit tricky process due to lack of logging.

I added FLAG_heap_profiler_trace_objects that enables log for object movements.

Drive by fix: with help of logging I found a bug in LeftTrim method for FixedArray.

BUG=none
R=svenpanne@chromium.org, yurys@chromium.org

Committed: https://code.google.com/p/v8/source/detail?r=17258

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17263 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/builtins.cc
src/flag-definitions.h
src/heap-snapshot-generator.cc