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

Issue 2916313003: [Fuchsia] Enable CPU profiling for the standalone VM (Closed)

Created:
3 years, 6 months ago by zra
Modified:
3 years, 6 months ago
Reviewers:
dje, siva, dje1
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[Fuchsia] Enable CPU profiling for the standalone VM R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/5e8799ce8162b35466dc8afe0db95de2796b6cc1

Patch Set 1 #

Total comments: 7

Patch Set 2 : Poll until suspended #

Total comments: 5

Patch Set 3 : Address comments #

Patch Set 4 : MG-795 is fixed #

Patch Set 5 : Only poll 10 times #

Patch Set 6 : Format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -83 lines) Patch
M runtime/vm/flag_list.h View 2 chunks +1 line, -8 lines 0 comments Download
M runtime/vm/os_thread_fuchsia.cc View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M runtime/vm/thread_interrupter_fuchsia.cc View 1 2 3 4 5 3 chunks +164 lines, -74 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
zra
https://codereview.chromium.org/2916313003/diff/1/runtime/vm/thread_interrupter_fuchsia.cc File runtime/vm/thread_interrupter_fuchsia.cc (right): https://codereview.chromium.org/2916313003/diff/1/runtime/vm/thread_interrupter_fuchsia.cc#newcode162 runtime/vm/thread_interrupter_fuchsia.cc:162: if (thread_info.state != MX_THREAD_STATE_SUSPENDED) { @dje: Frequently, after calling ...
3 years, 6 months ago (2017-06-02 16:51:23 UTC) #2
dje
https://codereview.chromium.org/2916313003/diff/1/runtime/vm/thread_interrupter_fuchsia.cc File runtime/vm/thread_interrupter_fuchsia.cc (right): https://codereview.chromium.org/2916313003/diff/1/runtime/vm/thread_interrupter_fuchsia.cc#newcode78 runtime/vm/thread_interrupter_fuchsia.cc:78: char buf[MX_MAX_THREAD_STATE_SIZE]; This won't necessarily have sufficient alignment, will ...
3 years, 6 months ago (2017-06-02 17:09:06 UTC) #4
zra
https://codereview.chromium.org/2916313003/diff/1/runtime/vm/thread_interrupter_fuchsia.cc File runtime/vm/thread_interrupter_fuchsia.cc (right): https://codereview.chromium.org/2916313003/diff/1/runtime/vm/thread_interrupter_fuchsia.cc#newcode78 runtime/vm/thread_interrupter_fuchsia.cc:78: char buf[MX_MAX_THREAD_STATE_SIZE]; On 2017/06/02 17:09:06, dje wrote: > This ...
3 years, 6 months ago (2017-06-02 17:46:47 UTC) #5
siva
https://codereview.chromium.org/2916313003/diff/20001/runtime/vm/thread_interrupter_fuchsia.cc File runtime/vm/thread_interrupter_fuchsia.cc (right): https://codereview.chromium.org/2916313003/diff/20001/runtime/vm/thread_interrupter_fuchsia.cc#newcode50 runtime/vm/thread_interrupter_fuchsia.cc:50: } Not sure I understand why suspended_ remains true ...
3 years, 6 months ago (2017-06-02 18:28:32 UTC) #6
dje
https://codereview.chromium.org/2916313003/diff/1/runtime/vm/thread_interrupter_fuchsia.cc File runtime/vm/thread_interrupter_fuchsia.cc (right): https://codereview.chromium.org/2916313003/diff/1/runtime/vm/thread_interrupter_fuchsia.cc#newcode78 runtime/vm/thread_interrupter_fuchsia.cc:78: char buf[MX_MAX_THREAD_STATE_SIZE]; On 2017/06/02 17:46:47, zra wrote: > On ...
3 years, 6 months ago (2017-06-02 18:40:07 UTC) #7
dje
https://codereview.chromium.org/2916313003/diff/20001/runtime/vm/thread_interrupter_fuchsia.cc File runtime/vm/thread_interrupter_fuchsia.cc (right): https://codereview.chromium.org/2916313003/diff/20001/runtime/vm/thread_interrupter_fuchsia.cc#newcode157 runtime/vm/thread_interrupter_fuchsia.cc:157: } On 2017/06/02 18:28:32, siva wrote: > Why not ...
3 years, 6 months ago (2017-06-02 18:48:52 UTC) #8
siva
https://codereview.chromium.org/2916313003/diff/20001/runtime/vm/thread_interrupter_fuchsia.cc File runtime/vm/thread_interrupter_fuchsia.cc (right): https://codereview.chromium.org/2916313003/diff/20001/runtime/vm/thread_interrupter_fuchsia.cc#newcode157 runtime/vm/thread_interrupter_fuchsia.cc:157: } On 2017/06/02 18:48:51, dje wrote: > On 2017/06/02 ...
3 years, 6 months ago (2017-06-02 19:43:57 UTC) #9
dje
On 2017/06/02 19:43:57, siva wrote: > https://codereview.chromium.org/2916313003/diff/20001/runtime/vm/thread_interrupter_fuchsia.cc > File runtime/vm/thread_interrupter_fuchsia.cc (right): > > https://codereview.chromium.org/2916313003/diff/20001/runtime/vm/thread_interrupter_fuchsia.cc#newcode157 > ...
3 years, 6 months ago (2017-06-02 19:54:31 UTC) #10
zra
https://codereview.chromium.org/2916313003/diff/1/runtime/vm/thread_interrupter_fuchsia.cc File runtime/vm/thread_interrupter_fuchsia.cc (right): https://codereview.chromium.org/2916313003/diff/1/runtime/vm/thread_interrupter_fuchsia.cc#newcode78 runtime/vm/thread_interrupter_fuchsia.cc:78: char buf[MX_MAX_THREAD_STATE_SIZE]; On 2017/06/02 18:40:07, dje wrote: > On ...
3 years, 6 months ago (2017-06-02 20:39:01 UTC) #11
siva
lgtm
3 years, 6 months ago (2017-06-05 17:59:52 UTC) #12
zra
3 years, 6 months ago (2017-06-05 21:45:46 UTC) #14
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
5e8799ce8162b35466dc8afe0db95de2796b6cc1 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698