|
Added isolate + thread high watermark tracking to Observatory
Added tracking of memory usage inside of threads. In addition, the max memory usage is kept track of using a high watermark for both the threads and the isolates. Isolate high watermark information is updated when a thread exits the isolate. The isolate high watermark consists of the sum of all thread high watermarks (including the high watermark of the exiting thread). High watermark information for both threads and isolates is now visible in the isolate view in the Observatory.
BUG=
R=johnmccutchan@google.com
Committed: https://github.com/dart-lang/sdk/commit/b3c55f972fa2cd6495bd748edb6b3c60b4d9429e
Total comments: 23
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+126 lines, -6 lines) |
Patch |
|
M |
runtime/observatory/lib/src/elements/isolate_view.dart
|
View
|
1
2
|
2 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/models/objects/isolate.dart
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/models/objects/thread.dart
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/service/object.dart
|
View
|
1
2
|
4 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/tests/service/get_zone_memory_info_rpc_test.dart
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.h
|
View
|
1
2
|
3 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.cc
|
View
|
1
2
|
5 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/thread.h
|
View
|
1
2
|
2 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread.cc
|
View
|
1
2
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_registry.h
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_registry.cc
|
View
|
1
2
|
2 chunks |
+13 lines, -0 lines |
1 comment
|
Download
|
|
M |
runtime/vm/thread_test.cc
|
View
|
1
|
2 chunks |
+14 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/zone.cc
|
View
|
1
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
Total messages: 12 (4 generated)
|