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

Issue 1363033003: Make TimelineEventBlocks reclaimable (Closed)

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

Make TimelineEventBlocks reclaimable - Add Timeline::ReclaimAllBlocks and Timeline::ReclaimIsolateBlocks utility functions to ensure that all cached blocks are closed before reporting the timeline - Adjust Timeline_Dart_GlobalTimelineGetTrace to exercise block reclaiming - Add ability to reclaim blocks from threads entered into an isolate - Fix IsolateTimelineEventFilter to actually filter out open blocks - Make some existing tests call Timeline::ReclaimIsolateBlocks before reporting - Added implementation and locking notes to timeline.cc R=turnidge@google.com Committed: https://github.com/dart-lang/sdk/commit/db3421ecfcd03015d644a33bd4f8627d1d73e19e

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -85 lines) Patch
M runtime/vm/dart_api_impl.cc View 1 2 chunks +4 lines, -8 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 6 chunks +65 lines, -27 lines 0 comments Download
M runtime/vm/isolate.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 chunks +6 lines, -8 lines 0 comments Download
M runtime/vm/thread.h View 1 2 chunks +7 lines, -1 line 0 comments Download
M runtime/vm/thread.cc View 1 1 chunk +0 lines, -8 lines 0 comments Download
M runtime/vm/thread_registry.h View 2 chunks +2 lines, -4 lines 0 comments Download
M runtime/vm/thread_registry.cc View 1 2 3 chunks +19 lines, -10 lines 0 comments Download
M runtime/vm/timeline.h View 1 2 9 chunks +20 lines, -10 lines 0 comments Download
M runtime/vm/timeline.cc View 1 2 3 9 chunks +116 lines, -7 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Cutch
5 years, 3 months ago (2015-09-23 20:04:04 UTC) #2
turnidge
https://codereview.chromium.org/1363033003/diff/1/runtime/vm/thread.cc File runtime/vm/thread.cc (right): https://codereview.chromium.org/1363033003/diff/1/runtime/vm/thread.cc#newcode346 runtime/vm/thread.cc:346: void Thread::CloseTimelineBlock() { Close -> Reclaim? (Note from offfline ...
5 years, 3 months ago (2015-09-24 17:05:53 UTC) #3
Cutch
PTAL https://codereview.chromium.org/1363033003/diff/1/runtime/vm/thread.cc File runtime/vm/thread.cc (right): https://codereview.chromium.org/1363033003/diff/1/runtime/vm/thread.cc#newcode346 runtime/vm/thread.cc:346: void Thread::CloseTimelineBlock() { On 2015/09/24 17:05:52, turnidge wrote: ...
5 years, 3 months ago (2015-09-24 18:14:16 UTC) #4
turnidge
lgtm
5 years, 3 months ago (2015-09-24 18:30:34 UTC) #5
Cutch
5 years, 3 months ago (2015-09-24 18:32:25 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
db3421ecfcd03015d644a33bd4f8627d1d73e19e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698