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

Issue 1811613002: Timeline API fixes for Flutter (Closed)

Created:
4 years, 9 months ago by Cutch
Modified:
4 years, 9 months ago
Reviewers:
rmacnak
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

Timeline API fixes for Flutter API changes: - Remove isolate specific Timeline APIs. - Remove Dart_EmbedderTimelineGetTimeline callback. - Add Dart_TimelineEvent so that arbitrary trace events can be added. Internal changes: - Remove isolate specific streams which were never used or controllable from outside the VM. R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/c65114b6b4601511186fa75100bda9b4e0e85b40

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+252 lines, -384 lines) Patch
M runtime/include/dart_tools_api.h View 1 4 chunks +54 lines, -84 lines 0 comments Download
M runtime/lib/timeline.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/compiler.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M runtime/vm/dart.cc View 5 chunks +7 lines, -4 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 7 chunks +86 lines, -107 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 17 chunks +37 lines, -44 lines 0 comments Download
M runtime/vm/debugger.cc View 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/deopt_instructions.cc View 1 chunk +1 line, -2 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/heap.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/isolate.h View 4 chunks +0 lines, -20 lines 0 comments Download
M runtime/vm/isolate.cc View 3 chunks +4 lines, -7 lines 0 comments Download
M runtime/vm/object.cc View 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/os_thread.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/parser.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/precompiler.cc View 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/service.cc View 3 chunks +3 lines, -4 lines 0 comments Download
M runtime/vm/service_isolate.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/timeline.h View 9 chunks +20 lines, -29 lines 0 comments Download
M runtime/vm/timeline.cc View 11 chunks +17 lines, -67 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Cutch
4 years, 9 months ago (2016-03-16 17:19:00 UTC) #3
rmacnak
lgtm w/ suggestion https://codereview.chromium.org/1811613002/diff/1/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/1811613002/diff/1/runtime/vm/dart_api_impl.cc#newcode5997 runtime/vm/dart_api_impl.cc:5997: FATAL1("%s: start_micros must be <= end_micros", ...
4 years, 9 months ago (2016-03-16 17:51:30 UTC) #4
Chinmay
On 2016/03/16 at 17:19:00, johnmccutchan wrote: > Just to clarify, do these |Dart_Timeline_Event_Type| enum value ...
4 years, 9 months ago (2016-03-16 18:15:00 UTC) #5
Cutch
On 2016/03/16 18:15:00, Chinmay wrote: > On 2016/03/16 at 17:19:00, johnmccutchan wrote: > > > ...
4 years, 9 months ago (2016-03-16 18:21:50 UTC) #6
Cutch
https://codereview.chromium.org/1811613002/diff/1/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/1811613002/diff/1/runtime/vm/dart_api_impl.cc#newcode5997 runtime/vm/dart_api_impl.cc:5997: FATAL1("%s: start_micros must be <= end_micros", CURRENT_FUNC); On 2016/03/16 ...
4 years, 9 months ago (2016-03-16 18:24:08 UTC) #7
Cutch
4 years, 9 months ago (2016-03-16 19:18:51 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
c65114b6b4601511186fa75100bda9b4e0e85b40 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698