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

Issue 1930773003: [compiler] Untangle CompilationInfo allocated with new. (Closed)

Created:
4 years, 7 months ago by Michael Starzinger
Modified:
4 years, 7 months ago
Reviewers:
Benedikt Meurer, ahaas
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@local_cleanup-compiler-simplify-30
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[compiler] Untangle CompilationInfo allocated with new. This removes the CompilationInfoWithZone class, which was used to allocate a CompilationInfo on the C-heap. By now the CompilationJob is the single object being allocated on the C-heap and passed between the main thread and the compilation thread. Structs requiring destruction can be embedded within that CompilationJob. This simplifies involved lifetimes by coupling all lifetimes to one single object. R=bmeurer@chromium.org Committed: https://crrev.com/601ee4ebf4ac9f626ccfeeb2d36e155220ad07e0 Cr-Commit-Position: refs/heads/master@{#35936}

Patch Set 1 #

Patch Set 2 : Fix comment. #

Patch Set 3 : Fix finalization. #

Total comments: 4

Patch Set 4 : Rebased. #

Patch Set 5 : Addressed comments. #

Patch Set 6 : Fix initialization order. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -75 lines) Patch
M src/compiler.h View 1 2 3 4 3 chunks +2 lines, -3 lines 0 comments Download
M src/compiler.cc View 1 2 3 4 5 11 chunks +20 lines, -53 lines 0 comments Download
M src/compiler/pipeline.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/pipeline.cc View 1 2 3 4 5 6 chunks +22 lines, -11 lines 0 comments Download
M src/crankshaft/hydrogen.h View 3 chunks +11 lines, -2 lines 0 comments Download
M src/optimizing-compile-dispatcher.cc View 1 chunk +1 line, -4 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 12 (6 generated)
Michael Starzinger
Benedikt: PTAL. Andreas: FYI.
4 years, 7 months ago (2016-04-28 09:51:52 UTC) #3
Benedikt Meurer
Gekauft! LGTM with comments. https://codereview.chromium.org/1930773003/diff/40001/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/1930773003/diff/40001/src/compiler.h#newcode142 src/compiler.h:142: class CompilationInfo final BASE_EMBEDDED { ...
4 years, 7 months ago (2016-04-28 10:23:02 UTC) #4
Michael Starzinger
Thanks! Comments addressed. Landing. https://codereview.chromium.org/1930773003/diff/40001/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/1930773003/diff/40001/src/compiler.h#newcode142 src/compiler.h:142: class CompilationInfo final BASE_EMBEDDED { ...
4 years, 7 months ago (2016-05-02 12:35:06 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1930773003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1930773003/100001
4 years, 7 months ago (2016-05-02 14:40:12 UTC) #8
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-05-02 14:44:35 UTC) #10
commit-bot: I haz the power
4 years, 7 months ago (2016-05-02 14:46:44 UTC) #12
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/601ee4ebf4ac9f626ccfeeb2d36e155220ad07e0
Cr-Commit-Position: refs/heads/master@{#35936}

Powered by Google App Engine
This is Rietveld 408576698