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

Issue 299143007: Show flags in Observatory. (Closed)

Created:
6 years, 7 months ago by turnidge
Modified:
6 years, 7 months ago
Reviewers:
Cutch
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Cutch
Visibility:
Public.

Description

Show flags in Observatory. Add vm support for setting flags through vm service (UI coming soon). e.g. http://127.0.0.1:8181/#/flags/set?name=some_flag&value=100 -- I reworked the Flags class to use a growing array rather than a linked list to store flags. This means that we don't need to go through the hassle of building an array and sorting every time that we print/printjson. R=johnmccutchan@google.com Committed: https://code.google.com/p/dart/source/detail?r=36712

Patch Set 1 #

Patch Set 2 : tweaks #

Total comments: 4

Patch Set 3 : gen js + code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9075 lines, -6871 lines) Patch
M runtime/bin/vmservice/client/deployed/web/index.html View 1 2 80 chunks +2542 lines, -1521 lines 0 comments Download
M runtime/bin/vmservice/client/deployed/web/index.html._data View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/vmservice/client/deployed/web/index.html_bootstrap.dart.js View 1 2 373 chunks +1758 lines, -1871 lines 0 comments Download
M runtime/bin/vmservice/client/deployed/web/index_devtools.html View 1 2 80 chunks +2542 lines, -1521 lines 0 comments Download
M runtime/bin/vmservice/client/deployed/web/index_devtools.html._data View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/vmservice/client/deployed/web/index_devtools.html_bootstrap.dart.js View 1 2 373 chunks +1758 lines, -1871 lines 0 comments Download
M runtime/bin/vmservice/client/deployed/web/packages/observatory/elements.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/css/shared.css View 1 2 1 chunk +6 lines, -1 line 0 comments Download
A runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/flag_list.html View 1 2 1 chunk +55 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/io_view.html View 1 2 2 chunks +21 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/vm_view.html View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/client/lib/elements.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/bin/vmservice/client/lib/elements.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/css/shared.css View 1 2 1 chunk +6 lines, -1 line 0 comments Download
A runtime/bin/vmservice/client/lib/src/elements/flag_list.dart View 1 chunk +27 lines, -0 lines 0 comments Download
A runtime/bin/vmservice/client/lib/src/elements/flag_list.html View 1 2 1 chunk +55 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/service_view.dart View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/vm_view.html View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/service/object.dart View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/flags.h View 1 2 2 chunks +18 lines, -2 lines 0 comments Download
M runtime/vm/flags.cc View 1 2 15 chunks +170 lines, -78 lines 0 comments Download
M runtime/vm/service.cc View 1 2 2 chunks +40 lines, -1 line 0 comments Download
M runtime/vm/service_test.cc View 1 2 2 chunks +54 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
turnidge
6 years, 7 months ago (2014-05-23 19:04:45 UTC) #1
Cutch
lgtm w/ comments. I worry about allowing flags to be changed at runtime that should ...
6 years, 7 months ago (2014-05-26 05:48:33 UTC) #2
turnidge
As discussed offline, the flags/set functionality is not exposed in the UI yet. https://codereview.chromium.org/299143007/diff/10013/runtime/vm/flags.cc File ...
6 years, 7 months ago (2014-05-27 21:25:59 UTC) #3
turnidge
6 years, 7 months ago (2014-05-27 21:27:36 UTC) #4
Message was sent while issue was closed.
Committed patchset #3 manually as r36712 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698