|
|
Fix memory leak in CPU Profile page
- Programmatically clear all onClick listeners.
- Use an iterative call tree loader.
- Load call trees on demand.
- When a sample was filled before exhausting the call stack, mark that the sample's call stack is truncated.
- Insert '[Truncated]' tag nodes into call trees.
R=rmacnak@google.com
Committed: https://code.google.com/p/dart/source/detail?r=44190
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+371 lines, -145 lines) |
Patch |
 |
M |
runtime/observatory/lib/cpu_profile.dart
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/observatory/lib/src/app/view_model.dart
|
View
|
|
5 chunks |
+15 lines, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/observatory/lib/src/cpu_profile/cpu_profile.dart
|
View
|
|
7 chunks |
+152 lines, -80 lines |
0 comments
|
Download
|
 |
M |
runtime/observatory/lib/src/elements/cpu_profile.dart
|
View
|
1
|
6 chunks |
+26 lines, -18 lines |
0 comments
|
Download
|
 |
M |
runtime/observatory/lib/src/elements/cpu_profile.html
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/profiler.h
|
View
|
|
3 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/profiler.cc
|
View
|
|
7 chunks |
+17 lines, -5 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/profiler_service.cc
|
View
|
|
18 chunks |
+142 lines, -37 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/tags.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/tags.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 4 (1 generated)
|