|
|
Add a new event family for GC-related events, and generate an event after each garbage collection with basic stats.
One reason for this is to provide a structured alternative to the ad hoc logging format of --verbose_gc, and to move some functionality currently provided by standalone one-off scripts into the observatory.
Add first unit test for events.
R=johnmccutchan@google.com
Committed: https://code.google.com/p/dart/source/detail?r=39014
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+5243 lines, -5485 lines) |
Patch |
 |
M |
runtime/bin/vmservice/observatory/deployed/web/index.html_bootstrap.dart.js
|
View
|
1
2
3
4
|
575 chunks |
+2601 lines, -2788 lines |
0 comments
|
Download
|
 |
M |
runtime/bin/vmservice/observatory/deployed/web/index_devtools.html_bootstrap.dart.js
|
View
|
1
2
3
4
|
580 chunks |
+2519 lines, -2695 lines |
0 comments
|
Download
|
 |
M |
runtime/bin/vmservice/observatory/lib/src/service/object.dart
|
View
|
1
2
3
4
5
|
1 chunk |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
A |
runtime/bin/vmservice/observatory/test/gc_script.dart
|
View
|
1
2
3
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A |
runtime/bin/vmservice/observatory/test/gc_test.dart
|
View
|
1
2
3
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/bin/vmservice/server.dart
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/heap.h
|
View
|
1
2
3
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/heap.cc
|
View
|
1
2
3
|
3 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/service.h
|
View
|
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/service.cc
|
View
|
1
2
3
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/service/constants.dart
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/service/vmservice.dart
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|