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

Issue 1294023009: Switch to a VM wide timeline recorder (Closed)

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

Description

Switch to a VM wide timeline recorder - Initialize and shutdown timeline recorder with VM. - Allocate global blocks for timeline events without an isolate. - Stop storing the Stream pointer inside a TimelineEvent. - Store category name in TimelineEvent. - Store isolate pointer in TimelineEvent. - TimelineEventRecorder::WriteTo is full VM dump. - Allow JSONStream to be used without an isolate. - When a ThreadRegistry is deleted, Finish all open timeline blocks. - PrintJSON takes a filter. R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/1ff7144c31f75d5d4feda2cd494f44512e2df10d

Patch Set 1 #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Patch Set 4 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+504 lines, -232 lines) Patch
M runtime/bin/dartutils.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M runtime/bin/main.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/dart.cc View 8 chunks +28 lines, -12 lines 1 comment Download
M runtime/vm/dart_api_impl.cc View 1 3 chunks +7 lines, -3 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 2 3 5 chunks +13 lines, -9 lines 0 comments Download
M runtime/vm/isolate.h View 2 chunks +0 lines, -11 lines 0 comments Download
M runtime/vm/isolate.cc View 8 chunks +7 lines, -28 lines 0 comments Download
M runtime/vm/json_stream.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/json_stream.cc View 3 chunks +17 lines, -12 lines 0 comments Download
M runtime/vm/object.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/service.h View 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/service.cc View 1 2 3 chunks +13 lines, -6 lines 0 comments Download
M runtime/vm/service_isolate.cc View 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/service_test.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M runtime/vm/thread_registry.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M runtime/vm/thread_registry.cc View 1 1 chunk +23 lines, -0 lines 0 comments Download
M runtime/vm/timeline.h View 1 2 12 chunks +132 lines, -51 lines 0 comments Download
M runtime/vm/timeline.cc View 1 2 23 chunks +211 lines, -84 lines 0 comments Download
M runtime/vm/timeline_test.cc View 1 2 7 chunks +31 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Cutch
5 years, 4 months ago (2015-08-18 20:14:53 UTC) #2
rmacnak
lgtm w/c https://codereview.chromium.org/1294023009/diff/20001/runtime/vm/service.cc File runtime/vm/service.cc (right): https://codereview.chromium.org/1294023009/diff/20001/runtime/vm/service.cc#newcode52 runtime/vm/service.cc:52: : ring_(NULL) { policy_ uninitialized. Mac/Clang build ...
5 years, 4 months ago (2015-08-18 21:09:01 UTC) #3
Cutch
https://codereview.chromium.org/1294023009/diff/20001/runtime/vm/service.cc File runtime/vm/service.cc (right): https://codereview.chromium.org/1294023009/diff/20001/runtime/vm/service.cc#newcode52 runtime/vm/service.cc:52: : ring_(NULL) { On 2015/08/18 21:09:00, rmacnak wrote: > ...
5 years, 4 months ago (2015-08-18 21:50:19 UTC) #4
Cutch
Committed patchset #4 (id:60001) manually as 1ff7144c31f75d5d4feda2cd494f44512e2df10d (presubmit successful).
5 years, 4 months ago (2015-08-18 22:18:07 UTC) #5
Ivan Posva
5 years, 4 months ago (2015-08-21 02:25:38 UTC) #7
Message was sent while issue was closed.
DBC -ip

https://codereview.chromium.org/1294023009/diff/60001/runtime/vm/dart.cc
File runtime/vm/dart.cc (right):

https://codereview.chromium.org/1294023009/diff/60001/runtime/vm/dart.cc#newc...
runtime/vm/dart.cc:102: Thread::EnsureInit();
Shouldn't this be called ReallyEnsureInit? Since it is called the second time...

Powered by Google App Engine
This is Rietveld 408576698