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

Issue 1410573006: Cache initial (empty) ic_data arrays so that they are not repeatedly allocated. Factor out descript… (Closed)

Created:
5 years, 1 month ago by srdjan
Modified:
5 years, 1 month ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Cache initial (empty) ic_data arrays so that they are not repeatedly allocated. Factor out descriptor and data array allocation. Will be used later when we copy the descriptor for background compilation. BUG= R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/cea892f234ee85ac1fb1cf3e2983d816e300aaf0

Patch Set 1 #

Patch Set 2 : Enable #

Total comments: 2

Patch Set 3 : address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -24 lines) Patch
M runtime/vm/dart.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/object.h View 2 chunks +21 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 chunks +69 lines, -24 lines 0 comments Download
M runtime/vm/snapshot.cc View 2 chunks +15 lines, -0 lines 0 comments Download
M runtime/vm/snapshot_ids.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
srdjan
5 years, 1 month ago (2015-10-27 18:27:09 UTC) #2
siva
LGTM with one comment. https://codereview.chromium.org/1410573006/diff/20001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/1410573006/diff/20001/runtime/vm/object.cc#newcode12634 runtime/vm/object.cc:12634: WriteSentinel(array, len); Array should be ...
5 years, 1 month ago (2015-10-27 21:32:44 UTC) #3
srdjan
https://codereview.chromium.org/1410573006/diff/20001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/1410573006/diff/20001/runtime/vm/object.cc#newcode12634 runtime/vm/object.cc:12634: WriteSentinel(array, len); On 2015/10/27 21:32:44, siva wrote: > Array ...
5 years, 1 month ago (2015-10-27 21:53:18 UTC) #4
srdjan
5 years, 1 month ago (2015-10-27 22:05:29 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
cea892f234ee85ac1fb1cf3e2983d816e300aaf0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698