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

Issue 1473403003: Move ApiLocalScope out of class ApiState into class Thread so that the API local handles and zone e… (Closed)

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

Description

Move ApiLocalScope out of class ApiState into class Thread so that the API local handles and zone etc. are thread specific instead of being Isolate specific. R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/01b69ebabc3d324dd1880563cd1983fd6428d5a2

Patch Set 1 #

Patch Set 2 : self-code-review #

Total comments: 10

Patch Set 3 : code-review-comments #

Total comments: 4

Patch Set 4 : code-review-patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+505 lines, -479 lines) Patch
M runtime/lib/isolate.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/benchmark_test.cc View 1 6 chunks +6 lines, -6 lines 0 comments Download
M runtime/vm/bootstrap.cc View 2 chunks +1 line, -2 lines 0 comments Download
M runtime/vm/dart_api_impl.h View 1 2 3 6 chunks +10 lines, -12 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 126 chunks +208 lines, -213 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 36 chunks +68 lines, -84 lines 0 comments Download
M runtime/vm/dart_api_state.h View 5 chunks +0 lines, -63 lines 0 comments Download
M runtime/vm/debugger_api_impl.cc View 40 chunks +61 lines, -39 lines 0 comments Download
M runtime/vm/isolate.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/mirrors_api_impl.cc View 11 chunks +12 lines, -12 lines 0 comments Download
M runtime/vm/native_api_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/native_entry.cc View 3 chunks +9 lines, -9 lines 0 comments Download
M runtime/vm/object.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/object_id_ring_test.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/parser.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/service_test.cc View 15 chunks +15 lines, -16 lines 0 comments Download
M runtime/vm/snapshot_test.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M runtime/vm/thread.h View 1 2 6 chunks +25 lines, -0 lines 0 comments Download
M runtime/vm/thread.cc View 4 chunks +59 lines, -0 lines 0 comments Download
M runtime/vm/thread_registry.h View 1 2 1 chunk +11 lines, -5 lines 0 comments Download
M runtime/vm/thread_registry.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
siva
5 years ago (2015-11-25 00:41:16 UTC) #2
zra
https://codereview.chromium.org/1473403003/diff/20001/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/1473403003/diff/20001/runtime/vm/dart_api_impl.cc#newcode375 runtime/vm/dart_api_impl.cc:375: Isolate* isolate = thread->isolate(); Just noting that isolate is ...
5 years ago (2015-11-25 17:36:56 UTC) #3
siva
https://codereview.chromium.org/1473403003/diff/20001/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/1473403003/diff/20001/runtime/vm/dart_api_impl.cc#newcode375 runtime/vm/dart_api_impl.cc:375: Isolate* isolate = thread->isolate(); On 2015/11/25 17:36:56, zra wrote: ...
5 years ago (2015-11-25 18:25:08 UTC) #4
zra
lgtm
5 years ago (2015-11-25 18:28:28 UTC) #5
siva
Committed patchset #4 (id:60001) manually as 01b69ebabc3d324dd1880563cd1983fd6428d5a2 (presubmit successful).
5 years ago (2015-11-25 19:07:26 UTC) #7
Ivan Posva
DBC -ip https://codereview.chromium.org/1473403003/diff/40001/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/1473403003/diff/40001/runtime/vm/dart_api_impl.cc#newcode1537 runtime/vm/dart_api_impl.cc:1537: I->object_store()->sticky_error()); Single line? https://codereview.chromium.org/1473403003/diff/40001/runtime/vm/dart_api_impl.h File runtime/vm/dart_api_impl.h (right): ...
5 years ago (2015-11-25 20:19:51 UTC) #8
siva
5 years ago (2015-11-25 22:45:12 UTC) #9
Message was sent while issue was closed.
https://codereview.chromium.org/1473403003/diff/40001/runtime/vm/dart_api_imp...
File runtime/vm/dart_api_impl.cc (right):

https://codereview.chromium.org/1473403003/diff/40001/runtime/vm/dart_api_imp...
runtime/vm/dart_api_impl.cc:1537: I->object_store()->sticky_error());
On 2015/11/25 20:19:51, Ivan Posva wrote:
> Single line?

Done.

https://codereview.chromium.org/1473403003/diff/40001/runtime/vm/dart_api_impl.h
File runtime/vm/dart_api_impl.h (right):

https://codereview.chromium.org/1473403003/diff/40001/runtime/vm/dart_api_imp...
runtime/vm/dart_api_impl.h:62: Isolate* tmpI = (tmpT->isolate());               
                         \
On 2015/11/25 20:19:51, Ivan Posva wrote:
> Parens?

Done.

Powered by Google App Engine
This is Rietveld 408576698