|
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=asiva@google.com
Committed: https://github.com/dart-lang/sdk/commit/0a1a534fd9c67d4b3edc5223569067cb1504f77e
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+124 lines, -5 lines) |
Patch |
|
M |
runtime/observatory/lib/src/elements/isolate_view.dart
|
View
|
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/models/objects/isolate.dart
|
View
|
|
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
|
|
4 chunks |
+10 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
|
|
3 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.cc
|
View
|
|
3 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread.h
|
View
|
|
2 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread.cc
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_registry.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_registry.cc
|
View
|
|
2 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_test.cc
|
View
|
|
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: 9 (2 generated)
|