Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Issue 2608463002: Added isolate + thread high watermark tracking to Observatory (Closed)

Created:
3 years, 11 months ago by bkonyi
Modified:
3 years, 11 months ago
Reviewers:
zra, Cutch, siva
CC:
reviews_dartlang.org, turnidge, rmacnak, Cutch, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

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

Patch Set 1 #

Total comments: 8

Patch Set 2 : Added tracking of memory usage inside of threads. In addition, the max memory usage is kept track o… #

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

Messages

Total messages: 9 (2 generated)
bkonyi
3 years, 11 months ago (2016-12-27 20:30:26 UTC) #2
siva
https://codereview.chromium.org/2608463002/diff/1/runtime/vm/isolate.cc File runtime/vm/isolate.cc (right): https://codereview.chromium.org/2608463002/diff/1/runtime/vm/isolate.cc#newcode2107 runtime/vm/isolate.cc:2107: isolate_memory_high_watermark_); Do we have a comment section somewhere were ...
3 years, 11 months ago (2016-12-27 22:09:26 UTC) #3
bkonyi
https://codereview.chromium.org/2608463002/diff/1/runtime/vm/isolate.cc File runtime/vm/isolate.cc (right): https://codereview.chromium.org/2608463002/diff/1/runtime/vm/isolate.cc#newcode2107 runtime/vm/isolate.cc:2107: isolate_memory_high_watermark_); On 2016/12/27 22:09:26, siva wrote: > Do we ...
3 years, 11 months ago (2016-12-28 00:09:58 UTC) #4
siva
https://codereview.chromium.org/2608463002/diff/1/runtime/vm/isolate.cc File runtime/vm/isolate.cc (right): https://codereview.chromium.org/2608463002/diff/1/runtime/vm/isolate.cc#newcode2107 runtime/vm/isolate.cc:2107: isolate_memory_high_watermark_); On 2016/12/28 00:09:58, bkonyi wrote: > On 2016/12/27 ...
3 years, 11 months ago (2016-12-28 17:52:35 UTC) #5
bkonyi
https://codereview.chromium.org/2608463002/diff/1/runtime/vm/isolate.cc File runtime/vm/isolate.cc (right): https://codereview.chromium.org/2608463002/diff/1/runtime/vm/isolate.cc#newcode2107 runtime/vm/isolate.cc:2107: isolate_memory_high_watermark_); On 2016/12/28 17:52:35, siva wrote: > On 2016/12/28 ...
3 years, 11 months ago (2016-12-28 19:00:50 UTC) #6
siva
lgtm
3 years, 11 months ago (2016-12-28 22:55:38 UTC) #7
bkonyi
3 years, 11 months ago (2016-12-28 22:59:32 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
0a1a534fd9c67d4b3edc5223569067cb1504f77e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698