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

Issue 128653004: Use list of isolates in profiler (Closed)

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

Description

Keep list of existing isolates. List is only updated when isolates are created / destroyed. ThreadInterrupter now walks list of isolates. Scheduling an isolate for interrupts is now lockless. Setting a current isolate is now lockless. Working on Linux, Mac, and Windows. Assert that the isolate isn't on two threads at once. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=32439

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Total comments: 16

Patch Set 10 : #

Total comments: 19

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -258 lines) Patch
M runtime/vm/benchmark_test.cc View 1 2 3 4 1 chunk +20 lines, -0 lines 0 comments Download
M runtime/vm/dart.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/isolate.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +38 lines, -1 line 0 comments Download
M runtime/vm/isolate.cc View 1 2 3 4 5 6 7 8 9 10 7 chunks +82 lines, -2 lines 0 comments Download
M runtime/vm/profiler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/thread_interrupter.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +24 lines, -32 lines 0 comments Download
M runtime/vm/thread_interrupter.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +51 lines, -174 lines 0 comments Download
M runtime/vm/thread_interrupter_android.cc View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -11 lines 0 comments Download
M runtime/vm/thread_interrupter_linux.cc View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -11 lines 0 comments Download
M runtime/vm/thread_interrupter_macos.cc View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -11 lines 0 comments Download
M runtime/vm/thread_interrupter_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +10 lines, -14 lines 0 comments Download
M runtime/vm/thread_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Cutch
6 years, 11 months ago (2014-01-08 22:18:16 UTC) #1
Cutch
PTAL.
6 years, 11 months ago (2014-01-09 22:49:28 UTC) #2
Cutch
PTAL
6 years, 10 months ago (2014-02-04 22:50:51 UTC) #3
siva
https://codereview.chromium.org/128653004/diff/260001/runtime/vm/benchmark_test.cc File runtime/vm/benchmark_test.cc (right): https://codereview.chromium.org/128653004/diff/260001/runtime/vm/benchmark_test.cc#newcode503 runtime/vm/benchmark_test.cc:503: } I think we also need a benchmark to ...
6 years, 10 months ago (2014-02-05 19:09:15 UTC) #4
Cutch
https://codereview.chromium.org/128653004/diff/260001/runtime/vm/benchmark_test.cc File runtime/vm/benchmark_test.cc (right): https://codereview.chromium.org/128653004/diff/260001/runtime/vm/benchmark_test.cc#newcode503 runtime/vm/benchmark_test.cc:503: } On 2014/02/05 19:09:15, siva wrote: > I think ...
6 years, 10 months ago (2014-02-05 23:00:31 UTC) #5
siva
LGTM with some comments. https://codereview.chromium.org/128653004/diff/330001/runtime/vm/benchmark_test.cc File runtime/vm/benchmark_test.cc (right): https://codereview.chromium.org/128653004/diff/330001/runtime/vm/benchmark_test.cc#newcode503 runtime/vm/benchmark_test.cc:503: } To get this running ...
6 years, 10 months ago (2014-02-06 00:37:23 UTC) #6
Cutch
https://codereview.chromium.org/128653004/diff/330001/runtime/vm/isolate.cc File runtime/vm/isolate.cc (right): https://codereview.chromium.org/128653004/diff/330001/runtime/vm/isolate.cc#newcode931 runtime/vm/isolate.cc:931: } On 2014/02/06 00:37:24, siva wrote: > Might be ...
6 years, 10 months ago (2014-02-06 17:51:51 UTC) #7
Cutch
6 years, 10 months ago (2014-02-07 17:43:31 UTC) #8
Message was sent while issue was closed.
Committed patchset #14 manually as r32439 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698