|
Provide more functions to CPU profiler (fix issue 858).
The cause for missing functions is that some of them are created
from compiled code (see FastNewClosureStub), and thus not get
registered in profiler's code map.
My solution is to hook on GC visitor to provide JS functions
addresses to profiler, only if it is enabled.
BUG= 858
TEST=
Committed: http://code.google.com/p/v8/source/detail?r=5523
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+140 lines, -21 lines) |
Patch |
|
M |
src/cpu-profiler.h
|
View
|
1
|
6 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
|
M |
src/cpu-profiler.cc
|
View
|
1
|
5 chunks |
+60 lines, -2 lines |
2 comments
|
Download
|
|
M |
src/heap.cc
|
View
|
1
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
|
M |
src/log.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/log.cc
|
View
|
1
|
2 chunks |
+12 lines, -2 lines |
2 comments
|
Download
|
|
M |
src/mark-compact.cc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/profile-generator.h
|
View
|
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/profile-generator.cc
|
View
|
|
2 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/stub-cache.cc
|
View
|
|
1 chunk |
+22 lines, -4 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|