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

Issue 1483113002: Thread and Timeline fixes for Mojo. (Closed)

Created:
5 years ago by zra
Modified:
5 years ago
Reviewers:
Ivan Posva
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

Thread and Timeline fixes for Mojo. Creates an OSThread in OSThread::Current() if a thread doesn't already have one. Also removes the setup of an unneeded StackZone from a Timeline API function. BUG= Committed: https://github.com/dart-lang/sdk/commit/618d4ee9b741e42f1de61293a4cd7f5e68a84da7

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add tests #

Patch Set 3 : Improve test. Fix thread id types. #

Patch Set 4 : Move OSThread creation from API call to OSThread::Current() #

Total comments: 6

Patch Set 5 : Cleanup #

Patch Set 6 : Cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -11 lines) Patch
M runtime/vm/dart_api_impl.cc View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 2 3 4 5 3 chunks +176 lines, -4 lines 0 comments Download
M runtime/vm/os_thread.h View 1 2 3 4 4 chunks +6 lines, -3 lines 0 comments Download
M runtime/vm/os_thread.cc View 1 2 3 4 1 chunk +10 lines, -1 line 0 comments Download

Messages

Total messages: 10 (3 generated)
zra
5 years ago (2015-11-30 18:59:38 UTC) #2
Ivan Posva
https://codereview.chromium.org/1483113002/diff/1/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://codereview.chromium.org/1483113002/diff/1/runtime/include/dart_api.h#newcode887 runtime/include/dart_api.h:887: * Threads created by the embedder (other than the ...
5 years ago (2015-12-01 05:08:42 UTC) #3
zra
https://codereview.chromium.org/1483113002/diff/1/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/1483113002/diff/1/runtime/vm/dart_api_impl.cc#newcode5753 runtime/vm/dart_api_impl.cc:5753: Timeline::ReclaimCachedBlocksFromThreads(); On 2015/12/01 05:08:42, Ivan Posva wrote: > Please ...
5 years ago (2015-12-01 16:55:13 UTC) #4
zra
ptal https://codereview.chromium.org/1483113002/diff/1/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://codereview.chromium.org/1483113002/diff/1/runtime/include/dart_api.h#newcode887 runtime/include/dart_api.h:887: * Threads created by the embedder (other than ...
5 years ago (2015-12-01 17:38:21 UTC) #5
Ivan Posva
LGTMwC -Ivan https://codereview.chromium.org/1483113002/diff/60001/runtime/vm/dart_api_impl_test.cc File runtime/vm/dart_api_impl_test.cc (right): https://codereview.chromium.org/1483113002/diff/60001/runtime/vm/dart_api_impl_test.cc#newcode9342 runtime/vm/dart_api_impl_test.cc:9342: struct GlobalTimelineThreadData { How about making this ...
5 years ago (2015-12-01 18:00:51 UTC) #7
zra
https://codereview.chromium.org/1483113002/diff/60001/runtime/vm/dart_api_impl_test.cc File runtime/vm/dart_api_impl_test.cc (right): https://codereview.chromium.org/1483113002/diff/60001/runtime/vm/dart_api_impl_test.cc#newcode9342 runtime/vm/dart_api_impl_test.cc:9342: struct GlobalTimelineThreadData { On 2015/12/01 18:00:51, Ivan Posva wrote: ...
5 years ago (2015-12-01 18:51:51 UTC) #8
zra
5 years ago (2015-12-01 18:52:23 UTC) #10
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
618d4ee9b741e42f1de61293a4cd7f5e68a84da7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698