DescriptionRecord allocation stack traces
This is initial implementation of allocation profiler.
Whenever new object allocation is reported to the HeapProfiler and allocation tracking is on we will capture current stack trace, add it to the collection of the allocation traces (a tree) and attribute the allocated size to the top JS function on the stack.
Format of serialized heap snapshot is extended to include information about recorded allocation stack traces.
BUG=chromium:277984
R=hpayer@chromium.org, loislo@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=17301
Patch Set 1 #
Total comments: 12
Patch Set 2 : Added a test #Patch Set 3 : Removed debug print #Patch Set 4 : Fixed debug build #Patch Set 5 : Fixed debug build #Patch Set 6 : Fix debug crash #Patch Set 7 : Make sure f_0_3 constructor is not inlined #
Total comments: 4
Patch Set 8 : #Patch Set 9 : Comments addressed #
Total comments: 7
Patch Set 10 : Addressed comments #
Messages
Total messages: 10 (0 generated)
|