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

Issue 2344143003: Moved zones and zone related stuff in its own directory. (Closed)

Created:
4 years, 3 months ago by heimbuef
Modified:
4 years, 3 months ago
CC:
Michael Hablich, Hannes Payer (out of office), Michael Achenbach, rmcilroy, ulan, v8-mips-ports_googlegroups.com, v8-ppc-ports_googlegroups.com, v8-reviews_googlegroups.com, v8-x87-ports_googlegroups.com, Yang
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Moved zones and zone related stuff in its own directory. This is some initial cleanup to keep /src clean. The AccountingAllocator is actually exclusively used by zones and this common subfolder makes that more clear. BUG=v8:5409 Committed: https://crrev.com/7a4f8e4d83d4faa36ec8f09683eee3ed9459221b Cr-Commit-Position: refs/heads/master@{#39558}

Patch Set 1 : Moved zones and zone related stuff into it's own folder #

Total comments: 4

Patch Set 2 : Renamed defines to match new file locations #

Total comments: 18

Patch Set 3 : Reaction to comments #

Total comments: 1

Patch Set 4 : Fixing conflicts with master #

Patch Set 5 : Fixed build files #

Patch Set 6 : Merge branch 'master' into zonefolder #

Unified diffs Side-by-side diffs Delta from patch set Stats (+422 lines, -1173 lines) Patch
M BUILD.gn View 1 2 3 4 5 2 chunks +8 lines, -6 lines 0 comments Download
M src/api.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/asmjs/asm-typer.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/asmjs/asm-types.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/asmjs/asm-wasm-builder.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/ast/ast-expression-rewriter.h View 1 chunk +1 line, -1 line 0 comments Download
M src/ast/ast-type-bounds.h View 1 chunk +1 line, -1 line 0 comments Download
M src/ast/modules.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/ast/scopes.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/ast/variables.h View 1 chunk +1 line, -1 line 0 comments Download
D src/base/accounting-allocator.h View 1 chunk +0 lines, -36 lines 0 comments Download
D src/base/accounting-allocator.cc View 1 chunk +0 lines, -44 lines 0 comments Download
M src/bit-vector.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compilation-dependencies.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler-dispatcher/compiler-dispatcher-job.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/access-info.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/all-nodes.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/ast-loop-assignment-analyzer.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/bytecode-loop-analysis.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/c-linkage.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/code-assembler.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/code-assembler.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/common-operator.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/common-operator.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/control-equivalence.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/control-flow-optimizer.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/graph.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/graph-reducer.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/graph-visualizer.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M src/compiler/instruction.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/instruction-scheduler.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/instruction-selector.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/int64-lowering.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/int64-lowering.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/linkage.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/live-range-separator.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M src/compiler/liveness-analyzer.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/loop-analysis.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/loop-analysis.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/loop-peeling.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/compiler/loop-variable-optimizer.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/loop-variable-optimizer.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/memory-optimizer.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/move-optimizer.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/node.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/node-aux-data.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/node-cache.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/operator.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/osr.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/register-allocator.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/register-allocator-verifier.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/schedule.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/scheduler.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/scheduler.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/store-store-elimination.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/type-cache.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/type-hint-analyzer.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/wasm-compiler.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/wasm-linkage.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/zone-pool.h View 3 chunks +3 lines, -3 lines 0 comments Download
M src/compiler/zone-pool.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/compilation-phase.h View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/hydrogen.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/hydrogen-flow-engine.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/crankshaft/hydrogen-gvn.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/crankshaft/hydrogen-instructions.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/hydrogen-osr.h View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/lithium.h View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/lithium-allocator.h View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/typing.h View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/unique.h View 1 chunk +1 line, -1 line 0 comments Download
M src/handles.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/identity-map.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/interpreter/bytecode-array-builder.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/interpreter/bytecode-label.h View 1 chunk +1 line, -1 line 0 comments Download
M src/interpreter/bytecode-pipeline.h View 1 chunk +1 line, -1 line 0 comments Download
M src/interpreter/bytecode-register-allocator.h View 1 chunk +1 line, -1 line 0 comments Download
M src/interpreter/constant-array-builder.h View 1 chunk +1 line, -1 line 0 comments Download
M src/interpreter/control-flow-builders.h View 1 chunk +1 line, -1 line 0 comments Download
M src/interpreter/handler-table-builder.h View 1 chunk +1 line, -1 line 0 comments Download
M src/interpreter/interpreter.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/interpreter/interpreter-assembler.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/isolate.h View 1 2 3 4 3 chunks +3 lines, -4 lines 0 comments Download
M src/isolate.cc View 1 2 3 4 5 chunks +7 lines, -7 lines 0 comments Download
M src/machine-type.h View 1 chunk +1 line, -1 line 0 comments Download
M src/objects.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/objects.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/parsing/func-name-inferrer.h View 1 chunk +1 line, -1 line 0 comments Download
M src/regexp/regexp-ast.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/regexp/regexp-parser.h View 1 chunk +1 line, -1 line 0 comments Download
M src/runtime/runtime.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/safepoint-table.h View 1 chunk +1 line, -1 line 0 comments Download
M src/signature.h View 1 chunk +1 line, -1 line 0 comments Download
M src/small-pointer-list.h View 1 chunk +1 line, -1 line 0 comments Download
M src/source-position-table.h View 1 chunk +1 line, -1 line 0 comments Download
M src/type-feedback-vector.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/type-info.h View 1 chunk +1 line, -1 line 0 comments Download
M src/v8.gyp View 1 2 3 4 5 2 chunks +7 lines, -6 lines 0 comments Download
M src/value-serializer.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/wasm/ast-decoder.h View 1 chunk +6 lines, -7 lines 0 comments Download
M src/wasm/ast-decoder.cc View 1 2 3 5 chunks +7 lines, -7 lines 0 comments Download
M src/wasm/decoder.h View 1 chunk +1 line, -1 line 0 comments Download
M src/wasm/encoder.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/wasm/encoder.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/wasm/switch-logic.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/wasm/wasm-debug.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/wasm/wasm-interpreter.h View 2 chunks +2 lines, -3 lines 0 comments Download
M src/wasm/wasm-interpreter.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M src/wasm/wasm-macro-gen.h View 1 chunk +1 line, -1 line 0 comments Download
D src/zone.h View 1 2 3 4 1 chunk +0 lines, -253 lines 0 comments Download
D src/zone.cc View 1 chunk +0 lines, -280 lines 0 comments Download
D src/zone-allocator.h View 1 chunk +0 lines, -72 lines 0 comments Download
D src/zone-containers.h View 1 chunk +0 lines, -145 lines 0 comments Download
A src/zone/accounting-allocator.h View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
A src/zone/accounting-allocator.cc View 1 chunk +44 lines, -0 lines 0 comments Download
A + src/zone/zone.h View 1 2 3 4 10 chunks +13 lines, -25 lines 0 comments Download
A + src/zone/zone.cc View 8 chunks +9 lines, -50 lines 0 comments Download
A + src/zone/zone-allocator.h View 1 2 3 chunks +18 lines, -16 lines 0 comments Download
A + src/zone/zone-containers.h View 1 10 chunks +4 lines, -11 lines 0 comments Download
A src/zone/zone-segment.h View 1 2 1 chunk +52 lines, -0 lines 0 comments Download
M test/cctest/cctest.h View 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-instruction.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/test-jump-threading.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/test-linkage.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M test/cctest/compiler/test-multiple-return.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/test-node.cc View 18 chunks +18 lines, -18 lines 0 comments Download
M test/cctest/compiler/test-run-native-calls.cc View 12 chunks +12 lines, -12 lines 0 comments Download
M test/cctest/test-ast.cc View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M test/cctest/test-bit-vector.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-identity-map.cc View 2 chunks +1 line, -1 line 0 comments Download
M test/cctest/test-liveedit.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/wasm/test-run-wasm.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-64.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-module.cc View 1 2 3 9 chunks +9 lines, -9 lines 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M test/common/wasm/wasm-module-runner.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M test/common/wasm/wasm-module-runner.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M test/fuzzer/wasm-code.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M test/fuzzer/wasm-section-fuzzers.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M test/unittests/compiler/control-equivalence-unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M test/unittests/compiler/escape-analysis-unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/compiler/zone-pool-unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/test-utils.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M test/unittests/wasm/ast-decoder-unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/wasm/module-decoder-unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 52 (27 generated)
heimbuef
PTAL
4 years, 3 months ago (2016-09-16 13:07:54 UTC) #5
jochen (gone - plz use gerrit)
should zonepool also go into that directory? I don't own all of the files btw.. ...
4 years, 3 months ago (2016-09-16 13:14:52 UTC) #6
heimbuef
PTAL
4 years, 3 months ago (2016-09-16 13:43:03 UTC) #11
heimbuef
https://codereview.chromium.org/2344143003/diff/10001/src/zone/accounting-allocator.h File src/zone/accounting-allocator.h (right): https://codereview.chromium.org/2344143003/diff/10001/src/zone/accounting-allocator.h#newcode5 src/zone/accounting-allocator.h:5: #ifndef V8_BASE_ACCOUNTING_ALLOCATOR_H_ On 2016/09/16 13:14:52, jochen wrote: > please ...
4 years, 3 months ago (2016-09-16 13:49:53 UTC) #12
adamk
Please mention why in the CL description (or better yet link to a tracking bug ...
4 years, 3 months ago (2016-09-16 21:14:38 UTC) #14
marja
https://codereview.chromium.org/2344143003/diff/50001/src/compiler/live-range-separator.h File src/compiler/live-range-separator.h (right): https://codereview.chromium.org/2344143003/diff/50001/src/compiler/live-range-separator.h#newcode8 src/compiler/live-range-separator.h:8: #include <src/zone/zone.h> It's weird that this uses the < ...
4 years, 3 months ago (2016-09-19 08:05:12 UTC) #15
marja
Ha, I noticed jochen@ instructed you to use V8_SRC_ZONE_... in the include guard. However, he's ...
4 years, 3 months ago (2016-09-19 08:07:58 UTC) #17
heimbuef
PTAL https://codereview.chromium.org/2344143003/diff/50001/src/compiler/live-range-separator.h File src/compiler/live-range-separator.h (right): https://codereview.chromium.org/2344143003/diff/50001/src/compiler/live-range-separator.h#newcode8 src/compiler/live-range-separator.h:8: #include <src/zone/zone.h> On 2016/09/19 08:05:11, marja wrote: > ...
4 years, 3 months ago (2016-09-19 10:47:52 UTC) #18
marja
adamk@ suggested a tracking bug; I think it makes sense, pls file one at https://bugs.chromium.org/p/v8/issues/list ...
4 years, 3 months ago (2016-09-19 10:49:46 UTC) #19
marja
lgtm with comment (which means I trust you to fix it before landing). You'll also ...
4 years, 3 months ago (2016-09-19 10:56:50 UTC) #20
titzer
lgtm
4 years, 3 months ago (2016-09-19 14:19:26 UTC) #21
jochen (gone - plz use gerrit)
yeah, sorry about the wrong header guard... anyways, why not also move ZonePool? please also ...
4 years, 3 months ago (2016-09-19 14:37:28 UTC) #23
Benedikt Meurer
From the CL description it's not clear why it's beneficial or necessary to move those ...
4 years, 3 months ago (2016-09-20 03:27:31 UTC) #24
heimbuef
On 2016/09/19 at 14:37:28, jochen wrote: > yeah, sorry about the wrong header guard... > ...
4 years, 3 months ago (2016-09-20 08:34:32 UTC) #25
Benedikt Meurer
LGTM.
4 years, 3 months ago (2016-09-20 09:03:30 UTC) #27
jochen (gone - plz use gerrit)
lgtm please reference the tracking bug from the CL description
4 years, 3 months ago (2016-09-20 09:42:42 UTC) #28
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/2344143003/90001
4 years, 3 months ago (2016-09-20 13:04:47 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/24487)
4 years, 3 months ago (2016-09-20 13:10:57 UTC) #34
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2344143003/diff/110001/src/v8.gyp File src/v8.gyp (right): https://codereview.chromium.org/2344143003/diff/110001/src/v8.gyp#newcode1271 src/v8.gyp:1271: 'src/zone/zone-segment.h', omit src/
4 years, 3 months ago (2016-09-20 14:16:47 UTC) #39
heimbuef
On 2016/09/20 at 14:16:47, jochen wrote: > https://codereview.chromium.org/2344143003/diff/110001/src/v8.gyp > File src/v8.gyp (right): > > https://codereview.chromium.org/2344143003/diff/110001/src/v8.gyp#newcode1271 ...
4 years, 3 months ago (2016-09-20 14:24:25 UTC) #41
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/2344143003/130001
4 years, 3 months ago (2016-09-20 14:24:44 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_avx2_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel_ng/builds/9015) v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
4 years, 3 months ago (2016-09-20 14:26:56 UTC) #46
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/2344143003/150001
4 years, 3 months ago (2016-09-20 15:37:09 UTC) #49
commit-bot: I haz the power
Committed patchset #6 (id:150001)
4 years, 3 months ago (2016-09-20 16:07:35 UTC) #50
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 16:08:18 UTC) #52
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7a4f8e4d83d4faa36ec8f09683eee3ed9459221b
Cr-Commit-Position: refs/heads/master@{#39558}

Powered by Google App Engine
This is Rietveld 408576698