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

Issue 644083003: [turbofan] Reduce memory consumption of graph building (Closed)

Created:
6 years, 2 months ago by danno
Modified:
6 years, 1 month ago
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

[turbofan] Reduce memory consumption of graph building Allow reservation of additional input capacity when creating nodes to prevent switching to deque representation when adding well-known additional inputs. Also ensure that only a single temporary buffer is used to create temporary input arrays before allocating nodes. R=mstarzinger@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=24896

Patch Set 1 #

Patch Set 2 : Iterate #

Patch Set 3 : Real patch #

Patch Set 4 : Iteration #

Patch Set 5 : Tweaks #

Patch Set 6 : Ready for review #

Patch Set 7 : Bug fix #

Patch Set 8 : Final tweks #

Patch Set 9 : Add missing arraysize #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -54 lines) Patch
M src/compiler/generic-node.h View 1 2 3 4 5 2 chunks +10 lines, -3 lines 0 comments Download
M src/compiler/generic-node-inl.h View 1 2 3 4 5 6 3 chunks +18 lines, -7 lines 0 comments Download
M src/compiler/graph.cc View 1 2 3 4 2 chunks +7 lines, -4 lines 1 comment Download
M src/compiler/graph-builder.h View 1 2 3 4 5 6 chunks +27 lines, -15 lines 0 comments Download
M src/compiler/graph-builder.cc View 1 2 3 4 5 6 7 8 7 chunks +25 lines, -9 lines 2 comments Download
M src/compiler/node.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/raw-machine-assembler.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/raw-machine-assembler.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/compiler/graph-builder-tester.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/compiler/simplified-graph-builder.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/simplified-graph-builder.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M test/unittests/compiler/value-numbering-reducer-unittest.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -4 lines 3 comments Download

Messages

Total messages: 6 (2 generated)
danno
PTAL
6 years, 2 months ago (2014-10-22 13:53:36 UTC) #2
Benedikt Meurer
https://codereview.chromium.org/644083003/diff/160001/test/unittests/compiler/value-numbering-reducer-unittest.cc File test/unittests/compiler/value-numbering-reducer-unittest.cc (right): https://codereview.chromium.org/644083003/diff/160001/test/unittests/compiler/value-numbering-reducer-unittest.cc#newcode71 test/unittests/compiler/value-numbering-reducer-unittest.cc:71: static_cast<Operator::Opcode>(IrOpcode::kLast - i); What is the purpose of this ...
6 years, 1 month ago (2014-10-27 09:29:14 UTC) #4
Michael Starzinger
LGTM with comments. https://codereview.chromium.org/644083003/diff/160001/src/compiler/graph-builder.cc File src/compiler/graph-builder.cc (right): https://codereview.chromium.org/644083003/diff/160001/src/compiler/graph-builder.cc#newcode143 src/compiler/graph-builder.cc:143: graph()->NewNode(common()->Merge(1), arraysize(inputs), inputs, true); suggestion: Having ...
6 years, 1 month ago (2014-10-27 09:34:20 UTC) #5
danno
6 years, 1 month ago (2014-10-27 10:12:32 UTC) #6
Message was sent while issue was closed.
Committed patchset #9 (id:160001) manually as 24896 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698