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

Issue 1329503002: 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:
srdjan, hausner
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 - Update usage counter to optimization threshold or 0 depending on whether optimized code exists for the Function - Do not serialize the resolved names cache and loaded scripts cache when doing script snapshots BUG= R=srdjan@google.com Committed: https://github.com/dart-lang/sdk/commit/52c2319d481427c20f225ddf7d6bbd54b1baf851

Patch Set 1 #

Patch Set 2 : self-code-review-comments #

Total comments: 5

Patch Set 3 : code-review-comments #

Patch Set 4 : code-review-comments #

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

Messages

Total messages: 7 (1 generated)
siva
5 years, 3 months ago (2015-08-31 22:13:22 UTC) #2
srdjan
lgtm https://codereview.chromium.org/1329503002/diff/20001/runtime/vm/raw_object_snapshot.cc File runtime/vm/raw_object_snapshot.cc (right): https://codereview.chromium.org/1329503002/diff/20001/runtime/vm/raw_object_snapshot.cc#newcode733 runtime/vm/raw_object_snapshot.cc:733: if (Code::IsOptimized(ptr()->instructions_->ptr()->code_)) { Why are you not doing: ...
5 years, 3 months ago (2015-08-31 22:17:19 UTC) #3
hausner
DBC https://codereview.chromium.org/1329503002/diff/20001/runtime/vm/raw_object_snapshot.cc File runtime/vm/raw_object_snapshot.cc (right): https://codereview.chromium.org/1329503002/diff/20001/runtime/vm/raw_object_snapshot.cc#newcode734 runtime/vm/raw_object_snapshot.cc:734: writer->Write<int32_t>(FLAG_optimization_counter_threshold); Can the snapshot be written in a ...
5 years, 3 months ago (2015-08-31 22:36:48 UTC) #4
siva
https://codereview.chromium.org/1329503002/diff/20001/runtime/vm/raw_object_snapshot.cc File runtime/vm/raw_object_snapshot.cc (right): https://codereview.chromium.org/1329503002/diff/20001/runtime/vm/raw_object_snapshot.cc#newcode733 runtime/vm/raw_object_snapshot.cc:733: if (Code::IsOptimized(ptr()->instructions_->ptr()->code_)) { On 2015/08/31 22:17:18, srdjan wrote: > ...
5 years, 3 months ago (2015-08-31 23:00:19 UTC) #5
siva
https://codereview.chromium.org/1329503002/diff/20001/runtime/vm/raw_object_snapshot.cc File runtime/vm/raw_object_snapshot.cc (right): https://codereview.chromium.org/1329503002/diff/20001/runtime/vm/raw_object_snapshot.cc#newcode733 runtime/vm/raw_object_snapshot.cc:733: if (Code::IsOptimized(ptr()->instructions_->ptr()->code_)) { On 2015/08/31 23:00:19, siva wrote: > ...
5 years, 3 months ago (2015-08-31 23:14:27 UTC) #6
siva
5 years, 3 months ago (2015-08-31 23:36:28 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
52c2319d481427c20f225ddf7d6bbd54b1baf851 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698