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

Issue 2591383004: Reland "[heap] Ensure progress when incrementally marking wrappers" (Closed)

Created:
4 years ago by Michael Lippautz
Modified:
4 years ago
CC:
v8-reviews_googlegroups.com, Hannes Payer (out of office), ulan
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Reland "[heap] Ensure progress when incrementally marking wrappers" 1) Alternate between processing v8 and wrappers 2) Once v8 is empty, try 3 rounds of finding the fixpoint between v8 and wrappers 3) After that, finalize once v8 marking deque is empty again BUG= Review-Url: https://codereview.chromium.org/2591383004 Cr-Commit-Position: refs/heads/master@{#41932} Committed: https://chromium.googlesource.com/v8/v8/+/61a55548c50e01d84ed4aefa396324cbb4039b51

Patch Set 1 #

Patch Set 2 #

Patch Set 3 : Move wrapper marking one level up #

Patch Set 4 #

Total comments: 2

Patch Set 5 : Fix compilation #

Patch Set 6 : Fix compilation #

Patch Set 7 : Fix guard #

Total comments: 1

Patch Set 8 : Remove unused method #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -47 lines) Patch
M src/heap/embedder-tracing.h View 1 2 3 4 5 3 chunks +12 lines, -1 line 0 comments Download
M src/heap/embedder-tracing.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/heap/heap.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -4 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 5 6 7 2 chunks +11 lines, -9 lines 0 comments Download
M src/heap/incremental-marking.cc View 1 2 3 4 5 6 2 chunks +36 lines, -32 lines 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 36 (27 generated)
Michael Lippautz
Hannes, Ulan: This is a mix of what you both suggested. See the description.
4 years ago (2016-12-22 16:22:17 UTC) #4
ulan
lgtm if bot redness is fixed :) https://codereview.chromium.org/2591383004/diff/60001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/2591383004/diff/60001/src/heap/heap.cc#newcode4179 src/heap/heap.cc:4179: bool Heap::MarkingDequesAreEmpty() ...
4 years ago (2016-12-22 16:32:47 UTC) #9
Hannes Payer (out of office)
https://codereview.chromium.org/2591383004/diff/120001/src/heap/incremental-marking.cc File src/heap/incremental-marking.cc (right): https://codereview.chromium.org/2591383004/diff/120001/src/heap/incremental-marking.cc#newcode1164 src/heap/incremental-marking.cc:1164: ->ShouldFinalizeIncrementalMarking()) { Do we really need that state? How ...
4 years ago (2016-12-22 19:24:16 UTC) #20
Michael Lippautz
On 2016/12/22 19:24:16, Hannes Payer wrote: > https://codereview.chromium.org/2591383004/diff/120001/src/heap/incremental-marking.cc > File src/heap/incremental-marking.cc (right): > > https://codereview.chromium.org/2591383004/diff/120001/src/heap/incremental-marking.cc#newcode1164 ...
4 years ago (2016-12-22 20:05:58 UTC) #23
Michael Lippautz
https://codereview.chromium.org/2591383004/diff/60001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/2591383004/diff/60001/src/heap/heap.cc#newcode4179 src/heap/heap.cc:4179: bool Heap::MarkingDequesAreEmpty() { On 2016/12/22 16:32:47, ulan wrote: > ...
4 years ago (2016-12-22 20:06:50 UTC) #24
Hannes Payer (out of office)
LGTM, I am fine with landing this now and cleaning up later.
4 years ago (2016-12-22 20:11:48 UTC) #27
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/2591383004/140001
4 years ago (2016-12-22 20:50:10 UTC) #32
commit-bot: I haz the power
Committed patchset #8 (id:140001) as https://chromium.googlesource.com/v8/v8/+/61a55548c50e01d84ed4aefa396324cbb4039b51
4 years ago (2016-12-22 20:51:54 UTC) #35
Michael Lippautz
4 years ago (2016-12-23 09:47:03 UTC) #36
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:140001) has been created in
https://codereview.chromium.org/2592393003/ by mlippautz@chromium.org.

The reason for reverting is: Breaks webkit-unit-tests. Investigating...

Powered by Google App Engine
This is Rietveld 408576698