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

Issue 1402383003: Simplify timeline backend (Closed)

Created:
5 years, 2 months ago by Cutch
Modified:
5 years, 2 months ago
Reviewers:
turnidge
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

Simplify timeline backend Now that we have a central list of all threads that are interacting with the VM we can stop relying on the Isolate's thread registry to cache timeline blocks. - Move from caching blocks in the Isolate's thread registry and caching them in the Thread directly. - This allows cached blocks to have events from multiple isolates, increasing usage density and reducing the number of blocks being cached at any given time. - We no longer need a distinct global block, this allows me to remove a bunch of dead code. R=turnidge@google.com Committed: https://github.com/dart-lang/sdk/commit/da946fbf99dc9a12d37bf0166f88c00f9d4f5564

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -240 lines) Patch
M runtime/vm/dart_api_impl.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/isolate.h View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/isolate.cc View 2 chunks +1 line, -10 lines 0 comments Download
M runtime/vm/thread.h View 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/thread.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/thread_registry.h View 1 chunk +0 lines, -3 lines 0 comments Download
M runtime/vm/thread_registry.cc View 2 chunks +1 line, -49 lines 0 comments Download
M runtime/vm/timeline.h View 1 5 chunks +4 lines, -26 lines 0 comments Download
M runtime/vm/timeline.cc View 1 13 chunks +32 lines, -140 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Cutch
5 years, 2 months ago (2015-10-16 18:26:35 UTC) #2
turnidge
lgtm. 2 small questions. Gosh, this is an improvement. https://codereview.chromium.org/1402383003/diff/1/runtime/vm/timeline.cc File runtime/vm/timeline.cc (right): https://codereview.chromium.org/1402383003/diff/1/runtime/vm/timeline.cc#newcode44 runtime/vm/timeline.cc:44: ...
5 years, 2 months ago (2015-10-16 19:40:20 UTC) #3
Cutch
https://codereview.chromium.org/1402383003/diff/1/runtime/vm/timeline.cc File runtime/vm/timeline.cc (right): https://codereview.chromium.org/1402383003/diff/1/runtime/vm/timeline.cc#newcode44 runtime/vm/timeline.cc:44: // a |TimelineEventBlock| cached in TLS partially filled with ...
5 years, 2 months ago (2015-10-16 19:43:52 UTC) #4
Cutch
5 years, 2 months ago (2015-10-16 20:37:03 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
da946fbf99dc9a12d37bf0166f88c00f9d4f5564 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698