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

Issue 1393423005: Add ThreadIterator for iterating over all Threads (Closed)

Created:
5 years, 2 months ago by Cutch
Modified:
5 years, 2 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add ThreadIterator for iterating over all Threads - Register all Threads in a central list. - Introduce ThreadIterator to iterate over threads. This will be used by the profiler when it switches from iterating over isolates to threads. It will also be used to simplify the timeline backend. R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/321d64a849d48d12507bb030633ffa81c9340c8d

Patch Set 1 #

Patch Set 2 : #

Total comments: 14

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+260 lines, -2 lines) Patch
M runtime/vm/dart.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/thread.h View 1 2 3 chunks +32 lines, -0 lines 0 comments Download
M runtime/vm/thread.cc View 1 2 7 chunks +102 lines, -2 lines 0 comments Download
M runtime/vm/thread_test.cc View 1 2 1 chunk +124 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Cutch
5 years, 2 months ago (2015-10-12 21:35:45 UTC) #2
siva
lgtm with some comments. https://codereview.chromium.org/1393423005/diff/20001/runtime/vm/thread.cc File runtime/vm/thread.cc (right): https://codereview.chromium.org/1393423005/diff/20001/runtime/vm/thread.cc#newcode94 runtime/vm/thread.cc:94: #endif missing 'break;' here? Maybe ...
5 years, 2 months ago (2015-10-12 23:03:14 UTC) #3
Cutch
https://codereview.chromium.org/1393423005/diff/20001/runtime/vm/thread.cc File runtime/vm/thread.cc (right): https://codereview.chromium.org/1393423005/diff/20001/runtime/vm/thread.cc#newcode94 runtime/vm/thread.cc:94: #endif On 2015/10/12 23:03:14, siva wrote: > missing 'break;' ...
5 years, 2 months ago (2015-10-13 16:41:24 UTC) #4
Cutch
5 years, 2 months ago (2015-10-13 16:49:25 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
321d64a849d48d12507bb030633ffa81c9340c8d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698