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

Issue 1337083004: - Turn on writing of ic_data_array so that we have that information for script snapshots that would… (Closed)

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

- Turn on writing of ic_data_array so that we have that information for script snapshots that would allow for code to be optimized right away - Use snapshot Ids for singleton VM isolate singleton objects instead of writing them out into the snapshot - Add support for writing function objects as an Id, this is needed to serialize function objects from the core library in a script snapshot (these function objects could potentially appear in the ICData). BUG= R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/228e8f6edd371dfcfc18c45c06bb68ad1a717be0

Patch Set 1 #

Total comments: 2

Patch Set 2 : code-review-comments #

Total comments: 4

Patch Set 3 : code-review-comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -200 lines) Patch
M runtime/vm/dart_entry.h View 3 chunks +6 lines, -6 lines 0 comments Download
M runtime/vm/object.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/raw_object.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 6 chunks +80 lines, -53 lines 0 comments Download
M runtime/vm/snapshot.h View 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 2 7 chunks +133 lines, -139 lines 0 comments Download
M runtime/vm/snapshot_ids.h View 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
siva
5 years, 3 months ago (2015-09-14 22:36:12 UTC) #2
rmacnak
https://codereview.chromium.org/1337083004/diff/1/runtime/vm/raw_object_snapshot.cc File runtime/vm/raw_object_snapshot.cc (right): https://codereview.chromium.org/1337083004/diff/1/runtime/vm/raw_object_snapshot.cc#newcode658 runtime/vm/raw_object_snapshot.cc:658: if (func.usage_counter() == 0) { Might as well clear ...
5 years, 3 months ago (2015-09-14 23:34:17 UTC) #3
siva
PTAL. https://codereview.chromium.org/1337083004/diff/1/runtime/vm/raw_object_snapshot.cc File runtime/vm/raw_object_snapshot.cc (right): https://codereview.chromium.org/1337083004/diff/1/runtime/vm/raw_object_snapshot.cc#newcode658 runtime/vm/raw_object_snapshot.cc:658: if (func.usage_counter() == 0) { On 2015/09/14 23:34:17, ...
5 years, 3 months ago (2015-09-15 21:40:04 UTC) #4
rmacnak
LGTM https://codereview.chromium.org/1337083004/diff/20001/runtime/vm/snapshot.cc File runtime/vm/snapshot.cc (right): https://codereview.chromium.org/1337083004/diff/20001/runtime/vm/snapshot.cc#newcode1381 runtime/vm/snapshot.cc:1381: // Check it it is a double. if ...
5 years, 3 months ago (2015-09-15 23:17:29 UTC) #5
siva
Committed patchset #3 (id:40001) manually as 228e8f6edd371dfcfc18c45c06bb68ad1a717be0 (presubmit successful).
5 years, 3 months ago (2015-09-16 00:18:26 UTC) #6
siva
5 years, 2 months ago (2015-10-13 21:39:26 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/1337083004/diff/20001/runtime/vm/snapshot.cc
File runtime/vm/snapshot.cc (right):

https://codereview.chromium.org/1337083004/diff/20001/runtime/vm/snapshot.cc#...
runtime/vm/snapshot.cc:1381: // Check it it is a double.
On 2015/09/15 23:17:29, rmacnak wrote:
> if it

Done.

https://codereview.chromium.org/1337083004/diff/20001/runtime/vm/snapshot.cc#...
runtime/vm/snapshot.cc:2433: // ASSERT(!IsSingletonClassId(class_id) &&
!IsObjectStoreClassId(class_id));
On 2015/09/15 23:17:29, rmacnak wrote:
> Remove.

Done.

Powered by Google App Engine
This is Rietveld 408576698