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

Issue 350923005: Defer marking libraries as ‘loaded’ (Closed)

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

Description

Defer marking libraries as ‘loaded’ Now that loading of libraries and library parts are loaded asynchronously and calls to Dart_LoadLibrary are serialized instead of nested, we must wait until the last load request is satisfied before marking libraries as ‘loaded’. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=37824

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -6 lines) Patch
M runtime/vm/dart_api_impl.cc View 1 2 chunks +6 lines, -6 lines 0 comments Download
M runtime/vm/isolate.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/isolate.cc View 1 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
hausner
6 years, 6 months ago (2014-06-24 23:49:24 UTC) #1
Ivan Posva
LGTM -Ivan https://codereview.chromium.org/350923005/diff/1/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/350923005/diff/1/runtime/vm/dart_api_impl.cc#newcode5149 runtime/vm/dart_api_impl.cc:5149: isolate->DoneLoading(); We should consider moving all of ...
6 years, 6 months ago (2014-06-26 08:37:46 UTC) #2
hausner
Committed patchset #2 manually as r37824 (presubmit successful).
6 years, 5 months ago (2014-06-30 17:11:14 UTC) #3
hausner
6 years, 5 months ago (2014-06-30 17:18:43 UTC) #4
Message was sent while issue was closed.
https://codereview.chromium.org/350923005/diff/1/runtime/vm/dart_api_impl.cc
File runtime/vm/dart_api_impl.cc (right):

https://codereview.chromium.org/350923005/diff/1/runtime/vm/dart_api_impl.cc#...
runtime/vm/dart_api_impl.cc:5149: isolate->DoneLoading();
On 2014/06/26 08:37:46, Ivan Posva wrote:
> We should consider moving all of the code below into DoneLoading() or is there
> any reason to call Isolate::DoneLoading() without triggering class
finalization
> and the completion of deferred loads?
> 
> Different CL.

Added a TODO.

Powered by Google App Engine
This is Rietveld 408576698