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

Issue 1310463005: - Ensure that HandleScope is initialized with a thread. (Remove (Closed)

Created:
5 years, 3 months ago by Ivan Posva
Modified:
5 years, 3 months ago
Reviewers:
siva
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

- Ensure that HandleScope is initialized with a thread. (Remove deprecated isolate based API.) - Update all code impacted by this change. E.g. DARTSCOPE - TEST_CASE now passes the current thread as a parameter to the unit test. BUG= R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/4bd7cdc75c97da7e77849de479f13575f0fb7b0e

Patch Set 1 #

Total comments: 10

Patch Set 2 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1296 lines, -1598 lines) Patch
M runtime/lib/mirrors.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/ast_printer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/benchmark_test.h View 2 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/benchmark_test.cc View 10 chunks +9 lines, -14 lines 0 comments Download
M runtime/vm/bit_vector_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/bootstrap.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M runtime/vm/class_finalizer.cc View 4 chunks +9 lines, -5 lines 0 comments Download
M runtime/vm/coverage.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M runtime/vm/dart.cc View 5 chunks +9 lines, -5 lines 0 comments Download
M runtime/vm/dart_api_impl.h View 1 chunk +5 lines, -4 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 127 chunks +670 lines, -847 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 29 chunks +28 lines, -32 lines 0 comments Download
M runtime/vm/debugger_api_impl.cc View 31 chunks +141 lines, -188 lines 0 comments Download
M runtime/vm/handles.h View 2 chunks +0 lines, -5 lines 0 comments Download
M runtime/vm/handles.cc View 2 chunks +2 lines, -12 lines 0 comments Download
M runtime/vm/handles_test.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/isolate.h View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/isolate.cc View 11 chunks +24 lines, -24 lines 0 comments Download
M runtime/vm/message_handler.h View 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/metrics_test.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/vm/mirrors_api_impl.cc View 9 chunks +71 lines, -81 lines 0 comments Download
M runtime/vm/native_api_impl.cc View 1 chunk +8 lines, -10 lines 0 comments Download
M runtime/vm/object.cc View 5 chunks +7 lines, -5 lines 0 comments Download
M runtime/vm/object_graph.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M runtime/vm/object_graph_test.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/object_test.cc View 17 chunks +17 lines, -17 lines 0 comments Download
M runtime/vm/profiler_service.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/profiler_service.cc View 4 chunks +9 lines, -6 lines 0 comments Download
M runtime/vm/profiler_test.cc View 31 chunks +55 lines, -55 lines 0 comments Download
M runtime/vm/runtime_entry.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/service.cc View 8 chunks +18 lines, -9 lines 0 comments Download
M runtime/vm/service_isolate.cc View 12 chunks +40 lines, -27 lines 0 comments Download
M runtime/vm/service_test.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M runtime/vm/snapshot.h View 8 chunks +13 lines, -15 lines 0 comments Download
M runtime/vm/snapshot.cc View 13 chunks +44 lines, -54 lines 0 comments Download
M runtime/vm/snapshot_test.cc View 1 39 chunks +78 lines, -143 lines 0 comments Download
M runtime/vm/thread_test.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M runtime/vm/timeline_test.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M runtime/vm/unit_test.h View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Ivan Posva
5 years, 3 months ago (2015-09-01 18:16:41 UTC) #2
siva
lgtm https://codereview.chromium.org/1310463005/diff/1/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/1310463005/diff/1/runtime/vm/dart_api_impl.cc#newcode1360 runtime/vm/dart_api_impl.cc:1360: Thread* thread = Thread::Current(); Would it be uniform ...
5 years, 3 months ago (2015-09-01 23:38:16 UTC) #3
Ivan Posva
Thanks! -Ivan https://codereview.chromium.org/1310463005/diff/1/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/1310463005/diff/1/runtime/vm/dart_api_impl.cc#newcode1360 runtime/vm/dart_api_impl.cc:1360: Thread* thread = Thread::Current(); On 2015/09/01 23:38:16, ...
5 years, 3 months ago (2015-09-02 00:03:33 UTC) #4
Ivan Posva
5 years, 3 months ago (2015-09-02 00:19:02 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
4bd7cdc75c97da7e77849de479f13575f0fb7b0e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698