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

Issue 2167763003: [Interpreter] Avoid allocating pairs array in VisitDeclarations. (Closed)

Created:
4 years, 5 months ago by rmcilroy
Modified:
4 years, 5 months ago
Reviewers:
oth, mythria
CC:
v8-reviews_googlegroups.com, oth, rmcilroy
Base URL:
https://chromium.googlesource.com/v8/v8.git@int_merge_binary
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Avoid allocating pairs array in VisitDeclarations. Move the logic for allocating the global declaration pair array from VisitDeclarations to a later step. This is required for concurrent bytecode generation. This change requires adding support for reserving fixed constant pool array entries, which can be later updated with the value of the literal. BUG=v8:5203 Committed: https://crrev.com/8d4658077ca9f35904cefe0fb1cb4e927ea9f240 Cr-Commit-Position: refs/heads/master@{#38010}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Changes #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -49 lines) Patch
M src/interpreter/bytecode-array-builder.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 2 2 chunks +15 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-generator.h View 4 chunks +7 lines, -4 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 8 chunks +87 lines, -27 lines 0 comments Download
M src/interpreter/constant-array-builder.h View 1 4 chunks +10 lines, -1 line 0 comments Download
M src/interpreter/constant-array-builder.cc View 1 4 chunks +39 lines, -17 lines 0 comments Download
M test/unittests/interpreter/constant-array-builder-unittest.cc View 1 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (16 generated)
rmcilroy
Mythri, Orion, please take a look, thanks.
4 years, 5 months ago (2016-07-21 07:44:09 UTC) #14
mythria
lgtm. Thanks, Mythri
4 years, 5 months ago (2016-07-22 09:36:25 UTC) #15
oth
LGTM modulo trivial comments. https://codereview.chromium.org/2167763003/diff/40001/src/interpreter/constant-array-builder.cc File src/interpreter/constant-array-builder.cc (right): https://codereview.chromium.org/2167763003/diff/40001/src/interpreter/constant-array-builder.cc#newcode49 src/interpreter/constant-array-builder.cc:49: void ConstantArrayBuilder::ConstantArraySlice::Update(size_t index, Is this ...
4 years, 5 months ago (2016-07-22 10:22:10 UTC) #16
rmcilroy
https://codereview.chromium.org/2167763003/diff/40001/src/interpreter/constant-array-builder.cc File src/interpreter/constant-array-builder.cc (right): https://codereview.chromium.org/2167763003/diff/40001/src/interpreter/constant-array-builder.cc#newcode49 src/interpreter/constant-array-builder.cc:49: void ConstantArrayBuilder::ConstantArraySlice::Update(size_t index, On 2016/07/22 10:22:10, oth wrote: > ...
4 years, 5 months ago (2016-07-25 10:55:29 UTC) #17
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/2167763003/80001
4 years, 5 months ago (2016-07-25 10:59:10 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 5 months ago (2016-07-25 11:30:42 UTC) #21
commit-bot: I haz the power
4 years, 5 months ago (2016-07-25 11:31:15 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8d4658077ca9f35904cefe0fb1cb4e927ea9f240
Cr-Commit-Position: refs/heads/master@{#38010}

Powered by Google App Engine
This is Rietveld 408576698