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

Issue 1320673012: Lookup getter/setter symbols before alllocating them, thus eliminating extra String allocations in … (Closed)

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

Lookup getter/setter symbols before alllocating them, thus eliminating extra String allocations in new space. Various old space allocations, cleanups. Add a test for Symbols concatenation. BUG= R=hausner@google.com Committed: https://github.com/dart-lang/sdk/commit/d4365bc6f41a13f6c76bd27503b16f2f7ceae12c

Patch Set 1 #

Total comments: 4

Patch Set 2 : Formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -51 lines) Patch
M runtime/lib/integers.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/ast.cc View 1 5 chunks +34 lines, -23 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M runtime/vm/object.h View 3 chunks +8 lines, -1 line 0 comments Download
M runtime/vm/object.cc View 9 chunks +30 lines, -10 lines 0 comments Download
M runtime/vm/object_test.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M runtime/vm/parser.cc View 8 chunks +19 lines, -13 lines 0 comments Download
M runtime/vm/symbols.h View 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/vm/symbols.cc View 1 chunk +35 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
srdjan
5 years, 3 months ago (2015-09-03 20:28:44 UTC) #2
hausner
LGTM with comment. https://codereview.chromium.org/1320673012/diff/1/runtime/vm/ast.cc File runtime/vm/ast.cc (right): https://codereview.chromium.org/1320673012/diff/1/runtime/vm/ast.cc#newcode578 runtime/vm/ast.cc:578: setter = Resolver::ResolveDynamicAnyArgs(cls(), setter_name); Extra space ...
5 years, 3 months ago (2015-09-03 20:48:49 UTC) #3
srdjan
https://codereview.chromium.org/1320673012/diff/1/runtime/vm/ast.cc File runtime/vm/ast.cc (right): https://codereview.chromium.org/1320673012/diff/1/runtime/vm/ast.cc#newcode578 runtime/vm/ast.cc:578: setter = Resolver::ResolveDynamicAnyArgs(cls(), setter_name); On 2015/09/03 20:48:49, hausner wrote: ...
5 years, 3 months ago (2015-09-03 20:55:36 UTC) #4
srdjan
5 years, 3 months ago (2015-09-03 21:09:49 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
d4365bc6f41a13f6c76bd27503b16f2f7ceae12c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698