|
Add initial version of retainers heap profile.
The profile is taken together with constructors profile. In theory, it
should represent a complete heap graph. However, this takes a lot of memory,
so it is reduced to a more compact, but still useful form. Namely:
- objects are aggregated by their constructors, except for Array and Object
instances, that are too hetereogeneous;
- for Arrays and Objects, initially every instance is concerned, but then
they are grouped together based on their retainer graph paths similarity (e.g.
if two objects has the same retainer, they are considered equal);
Committed: http://code.google.com/p/v8/source/detail?r=2903
Total comments: 41
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1172 lines, -183 lines) |
Patch |
|
M |
src/SConscript
|
View
|
|
1 chunk |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/heap.h
|
View
|
|
1 chunk |
+0 lines, -14 lines |
0 comments
|
Download
|
|
M |
src/heap.cc
|
View
|
|
2 chunks |
+1 line, -158 lines |
0 comments
|
Download
|
|
A |
src/heap-profiler.h
|
View
|
1
|
1 chunk |
+259 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/heap-profiler.cc
|
View
|
1
|
1 chunk |
+519 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/log.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/log.cc
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/string-stream.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/string-stream.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/SConscript
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
test/cctest/test-heap-profiler.cc
|
View
|
|
1 chunk |
+323 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gyp/v8.gyp
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/v8.xcodeproj/project.pbxproj
|
View
|
|
7 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
|
M |
tools/visual_studio/v8_base.vcproj
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/visual_studio/v8_base_arm.vcproj
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/visual_studio/v8_base_x64.vcproj
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/visual_studio/v8_cctest.vcproj
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/visual_studio/v8_cctest_arm.vcproj
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/visual_studio/v8_cctest_x64.vcproj
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|