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

Issue 1323813004: Changes to prepare for allowing script snapshots to be taken after running the main application (Closed)

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

Changes to prepare for allowing script snapshots to be taken after running the main application - Create singleton empty context scope object - Add an implicit field in the context scope so we can distinguish implict context scope objects - Allow serialization of extractor_parameter_types, extractor_parameter_names BUG= R=regis@google.com Committed: https://github.com/dart-lang/sdk/commit/6b2ae767fd40faa7a07f10f1891494aada427878

Patch Set 1 #

Patch Set 2 : code-review-comments #

Patch Set 3 : code-review-comments #

Total comments: 4

Patch Set 4 : fix-long-line #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -11 lines) Patch
M runtime/vm/object.h View 1 2 3 5 chunks +14 lines, -2 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 7 chunks +26 lines, -5 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 4 chunks +54 lines, -2 lines 2 comments Download
M runtime/vm/scopes.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/snapshot.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/snapshot.cc View 3 chunks +28 lines, -0 lines 0 comments Download
M runtime/vm/snapshot_ids.h View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
siva
5 years, 3 months ago (2015-08-31 20:10:19 UTC) #2
regis
LGTM I finally understood that is_implicit means "is the context scope of an implicit closure". ...
5 years, 3 months ago (2015-08-31 20:25:06 UTC) #3
siva
https://codereview.chromium.org/1323813004/diff/40001/runtime/vm/object.h File runtime/vm/object.h (right): https://codereview.chromium.org/1323813004/diff/40001/runtime/vm/object.h#newcode4472 runtime/vm/object.h:4472: // level is assigned. On 2015/08/31 20:25:06, regis wrote: ...
5 years, 3 months ago (2015-08-31 22:20:52 UTC) #4
siva
Committed patchset #4 (id:60001) manually as 6b2ae767fd40faa7a07f10f1891494aada427878 (presubmit successful).
5 years, 3 months ago (2015-08-31 22:41:45 UTC) #5
rmacnak
5 years, 3 months ago (2015-09-02 01:19:50 UTC) #7
Message was sent while issue was closed.
J'accuse!

https://codereview.chromium.org/1323813004/diff/60001/runtime/vm/raw_object_s...
File runtime/vm/raw_object_snapshot.cc (right):

https://codereview.chromium.org/1323813004/diff/60001/runtime/vm/raw_object_s...
runtime/vm/raw_object_snapshot.cc:618: writer->WriteObjectImpl(Object::null(),
kAsInlinedObject);
Remove this one - this CL increases the number of fields written without
changing the number of fields read.

https://codereview.chromium.org/1323813004/diff/60001/runtime/vm/raw_object_s...
runtime/vm/raw_object_snapshot.cc:1638:
ContextScope::ZoneHandle(ContextScope::New(1, true));
ContextScope::New fails
Thread::Current()->no_safepoint_scope_depth() == 0
in a full snapshot

Powered by Google App Engine
This is Rietveld 408576698