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

Issue 381483002: Allocate fewer empty arrays. (Closed)

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

Description

Allocate fewer empty arrays. Use VM isolate's canonical, untyped, empty array when possible. Takes Dart2JS benchmark from ~9000 empty arrays to ~200. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=38435

Patch Set 1 #

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -25 lines) Patch
M runtime/vm/flow_graph_compiler.cc View 1 2 1 chunk +21 lines, -16 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 chunks +15 lines, -9 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
koda
6 years, 5 months ago (2014-07-09 00:55:28 UTC) #1
siva
LGTM with some comments. https://codereview.chromium.org/381483002/diff/20001/runtime/vm/flow_graph_compiler.cc File runtime/vm/flow_graph_compiler.cc (right): https://codereview.chromium.org/381483002/diff/20001/runtime/vm/flow_graph_compiler.cc#newcode750 runtime/vm/flow_graph_compiler.cc:750: code.set_object_table(object_array); I think it would ...
6 years, 5 months ago (2014-07-09 20:08:03 UTC) #2
koda
6 years, 5 months ago (2014-07-21 16:41:09 UTC) #3
Message was sent while issue was closed.
Committed patchset #3 manually as r38435 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698