|
Introduce first approximation of constructor heap profile for JS objects.
It is activated with '--log-gc' flag.
JS object size is calculated as its size + size of 'properties' and 'elements' arrays, if they are non-empty. This doesn't take maps, strings, heap numbers, and other shared objects into account.
As Soeren suggested, I've moved ZoneSplayTree from jsregexp to zone, and removed now empty jsregexp-inl header file.
Committed: http://code.google.com/p/v8/source/detail?r=2570
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+470 lines, -389 lines) |
Patch |
|
M |
src/heap.cc
|
View
|
1
|
3 chunks |
+102 lines, -1 line |
0 comments
|
Download
|
|
M |
src/jsregexp.h
|
View
|
|
1 chunk |
+0 lines, -102 lines |
0 comments
|
Download
|
|
M |
src/jsregexp.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/jsregexp-inl.h
|
View
|
|
1 chunk |
+0 lines, -260 lines |
0 comments
|
Download
|
|
M |
src/log.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/log.cc
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/spaces.h
|
View
|
|
1 chunk |
+20 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/zone.h
|
View
|
|
1 chunk |
+102 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/zone-inl.h
|
View
|
|
1 chunk |
+217 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-regexp.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tools/process-heap-prof.py
|
View
|
|
2 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
|
M |
tools/visual_studio/v8_base.vcproj
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
tools/visual_studio/v8_base_arm.vcproj
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|