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

Issue 411633002: Fix for issue 19817 (Closed)

Created:
6 years, 5 months ago by siva
Modified:
6 years, 5 months ago
Reviewers:
hausner
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fix for issue 19817 - do not try to finalize classes on every Dart API call which could potentially result in calls to dart code - Invoke Dart_FinalizeLoading after all loads are done to ensure that classes are finalized R=hausner@google.com Committed: https://code.google.com/p/dart/source/detail?r=38471

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -81 lines) Patch
M runtime/bin/dartutils.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/bin/gen_snapshot.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M runtime/bin/vmservice_impl.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/benchmark_test.cc View 1 4 chunks +8 lines, -4 lines 0 comments Download
M runtime/vm/bootstrap.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_impl.h View 1 chunk +3 lines, -2 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 20 chunks +59 lines, -45 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 25 chunks +52 lines, -5 lines 0 comments Download
M runtime/vm/debugger_api_impl.cc View 4 chunks +10 lines, -16 lines 0 comments Download
M runtime/vm/native_api_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/service.cc View 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/snapshot_test.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/unit_test.h View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/unit_test.cc View 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
siva
6 years, 5 months ago (2014-07-22 17:43:26 UTC) #1
hausner
LGTM with a few suggestions. https://chromiumcodereview.appspot.com/411633002/diff/1/runtime/bin/dartutils.cc File runtime/bin/dartutils.cc (right): https://chromiumcodereview.appspot.com/411633002/diff/1/runtime/bin/dartutils.cc#newcode802 runtime/bin/dartutils.cc:802: result = Dart_FinalizeLoading(false); Maybe ...
6 years, 5 months ago (2014-07-22 18:23:32 UTC) #2
siva
https://chromiumcodereview.appspot.com/411633002/diff/1/runtime/bin/dartutils.cc File runtime/bin/dartutils.cc (right): https://chromiumcodereview.appspot.com/411633002/diff/1/runtime/bin/dartutils.cc#newcode802 runtime/bin/dartutils.cc:802: result = Dart_FinalizeLoading(false); On 2014/07/22 18:23:32, hausner wrote: > ...
6 years, 5 months ago (2014-07-22 19:55:11 UTC) #3
siva
6 years, 5 months ago (2014-07-22 20:08:24 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r38471 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698