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

Issue 1313363005: Use zone allocated C-strings instead of String heap objects to construct signature symbols (Closed)

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

Use zone allocated C-strings instead of String heap objects to construct signature symbols BUG= R=koda@google.com Committed: https://github.com/dart-lang/sdk/commit/b5c256b85f4b0f01521c74a512b6808484da7ea3

Patch Set 1 #

Patch Set 2 : Add zone #

Patch Set 3 : Cleanup #

Patch Set 4 : Cleanup #

Patch Set 5 : One line less #

Patch Set 6 : Simplify #

Total comments: 17

Patch Set 7 : Faster concat. #

Patch Set 8 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -47 lines) Patch
M runtime/vm/object.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 6 4 chunks +52 lines, -46 lines 0 comments Download
M runtime/vm/symbols.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/symbols.cc View 1 2 3 4 5 6 7 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
srdjan
5 years, 3 months ago (2015-08-26 16:45:35 UTC) #2
koda
https://codereview.chromium.org/1313363005/diff/100001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/1313363005/diff/100001/runtime/vm/object.cc#newcode6480 runtime/vm/object.cc:6480: GrowableArray<const String*> pieces(4); Nit, but wouldn't 3 or 5 ...
5 years, 3 months ago (2015-08-26 17:37:06 UTC) #3
srdjan
https://codereview.chromium.org/1313363005/diff/100001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/1313363005/diff/100001/runtime/vm/object.cc#newcode6480 runtime/vm/object.cc:6480: GrowableArray<const String*> pieces(4); On 2015/08/26 17:37:06, koda wrote: > ...
5 years, 3 months ago (2015-08-26 19:43:55 UTC) #4
koda
https://codereview.chromium.org/1313363005/diff/100001/runtime/vm/symbols.cc File runtime/vm/symbols.cc (right): https://codereview.chromium.org/1313363005/diff/100001/runtime/vm/symbols.cc#newcode399 runtime/vm/symbols.cc:399: len_sum += OS::SNPrint(NULL, 0, "%s", strs[i]->ToCString()); On 2015/08/26 19:43:55, ...
5 years, 3 months ago (2015-08-26 20:02:04 UTC) #5
srdjan
https://codereview.chromium.org/1313363005/diff/100001/runtime/vm/symbols.cc File runtime/vm/symbols.cc (right): https://codereview.chromium.org/1313363005/diff/100001/runtime/vm/symbols.cc#newcode399 runtime/vm/symbols.cc:399: len_sum += OS::SNPrint(NULL, 0, "%s", strs[i]->ToCString()); On 2015/08/26 20:02:03, ...
5 years, 3 months ago (2015-08-26 20:23:42 UTC) #6
koda
lgtm
5 years, 3 months ago (2015-08-26 20:26:18 UTC) #7
srdjan
5 years, 3 months ago (2015-08-26 20:31:18 UTC) #8
Message was sent while issue was closed.
Committed patchset #8 (id:140001) manually as
b5c256b85f4b0f01521c74a512b6808484da7ea3 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698