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

Issue 1150923003: [turbofan] Rework Node guts to save space. (Closed)

Created:
5 years, 7 months ago by titzer
Modified:
5 years, 7 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Rework Node guts to save space. This reduces the storage per-Node storage from 7 words to 6 and per-edge storage from 6 words to 4. On average this is about 10%-15% space savings over the whole graph. Remove the use of std::deque as the out-of-line storage for inputs. Reduce size of Use links and use pointer arithmetic to find Node from Use. R=mstarzinger@chromium.org,jarin@chromium.org BUG= Committed: https://crrev.com/65b66634de40355498b37dfbdcefd55773ac48a1 Cr-Commit-Position: refs/heads/master@{#28583}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : Avoid quadratic verification explosion. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+396 lines, -192 lines) Patch
M src/compiler/node.h View 1 2 3 4 9 chunks +169 lines, -102 lines 0 comments Download
M src/compiler/node.cc View 1 2 3 4 5 6 7 9 chunks +203 lines, -89 lines 0 comments Download
M test/cctest/compiler/test-control-reducer.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/compiler/node-unittest.cc View 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
titzer
5 years, 7 months ago (2015-05-21 07:51:58 UTC) #1
Michael Starzinger
LGTM. I like it. Just a couple of comments. https://codereview.chromium.org/1150923003/diff/60001/src/compiler/node.h File src/compiler/node.h (right): https://codereview.chromium.org/1150923003/diff/60001/src/compiler/node.h#newcode95 src/compiler/node.h:95: ...
5 years, 7 months ago (2015-05-21 14:14:02 UTC) #2
titzer
https://codereview.chromium.org/1150923003/diff/60001/src/compiler/node.h File src/compiler/node.h (right): https://codereview.chromium.org/1150923003/diff/60001/src/compiler/node.h#newcode95 src/compiler/node.h:95: On 2015/05/21 14:14:02, Michael Starzinger wrote: > nit: Maybe ...
5 years, 7 months ago (2015-05-21 15:11:20 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1150923003/140001
5 years, 7 months ago (2015-05-22 11:08:02 UTC) #6
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 7 months ago (2015-05-22 11:13:12 UTC) #7
commit-bot: I haz the power
5 years, 7 months ago (2015-05-22 11:13:25 UTC) #8
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/65b66634de40355498b37dfbdcefd55773ac48a1
Cr-Commit-Position: refs/heads/master@{#28583}

Powered by Google App Engine
This is Rietveld 408576698