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

Issue 2687933003: [Parser] Cache and clone initial AstValueFactory string_table_. (Closed)

Created:
3 years, 10 months ago by rmcilroy
Modified:
3 years, 10 months ago
Reviewers:
marja
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Parser] Cache and clone initial AstValueFactory string_table_. Avoid reinserting the ast constant string values into the string_table_ of each AstValueFactory that is created, instead clone an initial copy created in AstStringConstants. BUG=686658 Review-Url: https://codereview.chromium.org/2687933003 Cr-Commit-Position: refs/heads/master@{#43112} Committed: https://chromium.googlesource.com/v8/v8/+/a98b60004c1fccfac70c0edccd689e314bbe275c

Patch Set 1 #

Patch Set 2 #

Total comments: 1

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -53 lines) Patch
M src/ast/ast-value-factory.h View 1 2 7 chunks +17 lines, -19 lines 0 comments Download
M src/ast/ast-value-factory.cc View 3 chunks +31 lines, -32 lines 0 comments Download
M src/base/hashmap.h View 1 2 4 chunks +28 lines, -0 lines 0 comments Download
M src/isolate.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
rmcilroy
Addressing a performance regression with the AstStringContants CL. PTAL, thanks.
3 years, 10 months ago (2017-02-09 23:37:06 UTC) #4
marja
https://codereview.chromium.org/2687933003/diff/20001/src/ast/ast-value-factory.h File src/ast/ast-value-factory.h (right): https://codereview.chromium.org/2687933003/diff/20001/src/ast/ast-value-factory.h#newcode398 src/ast/ast-value-factory.h:398: : string_table_(string_constants->string_table()), So this "copies" the TemplateHashMapImpl but doesn't ...
3 years, 10 months ago (2017-02-10 07:55:53 UTC) #9
rmcilroy
On 2017/02/10 07:55:53, marja wrote: > https://codereview.chromium.org/2687933003/diff/20001/src/ast/ast-value-factory.h > File src/ast/ast-value-factory.h (right): > > https://codereview.chromium.org/2687933003/diff/20001/src/ast/ast-value-factory.h#newcode398 > ...
3 years, 10 months ago (2017-02-10 10:27:40 UTC) #10
marja
lgtm modulo these 2 nits, as discussed: - the passed AstConstants* should be a const ...
3 years, 10 months ago (2017-02-10 13:08:25 UTC) #11
rmcilroy
On 2017/02/10 13:08:25, marja wrote: > lgtm modulo these 2 nits, as discussed: > > ...
3 years, 10 months ago (2017-02-10 16:01:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2687933003/40001
3 years, 10 months ago (2017-02-10 16:01:21 UTC) #15
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 16:29:31 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/a98b60004c1fccfac70c0edccd689e314bb...

Powered by Google App Engine
This is Rietveld 408576698