|
Added isolate + thread high watermark tracking to Observatory
This is a fixed version of c84f30741c90d040254767ff769a40d2cba3fb1a that
resolves issues with comparing uint and intptr_t.
Original Commit Message:
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/4024151adbf9699ff93d6953f3cd63a5ab4341c7
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+126 lines, -8 lines) |
Patch |
|
M |
runtime/observatory/lib/src/elements/isolate_view.dart
|
View
|
|
2 chunks |
+18 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 |
+12 lines, -2 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
|
3 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.cc
|
View
|
1
|
5 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/thread.h
|
View
|
1
|
2 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread.cc
|
View
|
1
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_registry.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_registry.cc
|
View
|
1
|
2 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_test.cc
|
View
|
1
|
2 chunks |
+14 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/zone.cc
|
View
|
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
Total messages: 8 (2 generated)
|