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

Issue 1293773002: [heap] Simplify MarkingDeque implementation. (Closed)

Created:
5 years, 4 months ago by Michael Starzinger
Modified:
5 years, 4 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

[heap] Simplify MarkingDeque implementation. This removes the dependency of the MarkingDeque on the underlying collector by moving out the live bytes accounting and object color mutations into a wrapper. The MarkingDeque can now be split into a separate file. R=hpayer@chromium.org Committed: https://crrev.com/33922309919bf9a0aa9989b34560b3d60bcf9b82 Cr-Commit-Position: refs/heads/master@{#30194}

Patch Set 1 #

Patch Set 2 : Moar work. #

Total comments: 6

Patch Set 3 : Addressed comments. #

Total comments: 2

Patch Set 4 : Addressed comments. #

Patch Set 5 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -43 lines) Patch
M src/heap/incremental-marking.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/heap/mark-compact.h View 1 2 3 5 chunks +28 lines, -12 lines 0 comments Download
M src/heap/mark-compact.cc View 5 chunks +21 lines, -28 lines 0 comments Download
M src/heap/mark-compact-inl.h View 1 2 1 chunk +18 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
Michael Starzinger
Hannes: PTAL. Mike: FYI. https://codereview.chromium.org/1293773002/diff/20001/src/heap/mark-compact.h File src/heap/mark-compact.h (right): https://codereview.chromium.org/1293773002/diff/20001/src/heap/mark-compact.h#newcode210 src/heap/mark-compact.h:210: INLINE(bool PushBlack(HeapObject* object)) { Note ...
5 years, 4 months ago (2015-08-14 12:08:24 UTC) #3
Michael Lippautz
lgtm, I like it. Let's wait for Hannes. https://codereview.chromium.org/1293773002/diff/20001/src/heap/mark-compact-inl.h File src/heap/mark-compact-inl.h (right): https://codereview.chromium.org/1293773002/diff/20001/src/heap/mark-compact-inl.h#newcode26 src/heap/mark-compact-inl.h:26: void ...
5 years, 4 months ago (2015-08-14 12:44:36 UTC) #4
Hannes Payer (out of office)
On 2015/08/14 12:44:36, Michael Lippautz wrote: > lgtm, I like it. Let's wait for Hannes. ...
5 years, 4 months ago (2015-08-14 13:09:14 UTC) #5
Michael Starzinger
On 2015/08/14 13:09:14, Hannes Payer wrote: > On 2015/08/14 12:44:36, Michael Lippautz wrote: > > ...
5 years, 4 months ago (2015-08-14 13:22:21 UTC) #6
Michael Starzinger
https://codereview.chromium.org/1293773002/diff/20001/src/heap/mark-compact-inl.h File src/heap/mark-compact-inl.h (right): https://codereview.chromium.org/1293773002/diff/20001/src/heap/mark-compact-inl.h#newcode26 src/heap/mark-compact-inl.h:26: void MarkCompactCollector::PushBlack(HeapObject* obj) { On 2015/08/14 12:44:36, Michael Lippautz ...
5 years, 4 months ago (2015-08-14 13:23:13 UTC) #7
Michael Lippautz
https://codereview.chromium.org/1293773002/diff/20001/src/heap/mark-compact-inl.h File src/heap/mark-compact-inl.h (right): https://codereview.chromium.org/1293773002/diff/20001/src/heap/mark-compact-inl.h#newcode26 src/heap/mark-compact-inl.h:26: void MarkCompactCollector::PushBlack(HeapObject* obj) { On 2015/08/14 13:23:13, Michael Starzinger ...
5 years, 4 months ago (2015-08-14 13:26:46 UTC) #8
Hannes Payer (out of office)
https://codereview.chromium.org/1293773002/diff/20001/src/heap/mark-compact.h File src/heap/mark-compact.h (right): https://codereview.chromium.org/1293773002/diff/20001/src/heap/mark-compact.h#newcode210 src/heap/mark-compact.h:210: INLINE(bool PushBlack(HeapObject* object)) { On 2015/08/14 12:08:23, Michael Starzinger ...
5 years, 4 months ago (2015-08-17 09:39:10 UTC) #9
Michael Starzinger
Addressed offline comment. PTAL.
5 years, 4 months ago (2015-08-17 10:42:10 UTC) #10
Hannes Payer (out of office)
lgtm https://codereview.chromium.org/1293773002/diff/40001/src/heap/mark-compact.h File src/heap/mark-compact.h (right): https://codereview.chromium.org/1293773002/diff/40001/src/heap/mark-compact.h#newcode765 src/heap/mark-compact.h:765: friend class MarkCompactMarkingVisitor; Since you are here... can ...
5 years, 4 months ago (2015-08-17 12:37:00 UTC) #11
Michael Starzinger
Addressed comment. Rebased. Landing. https://codereview.chromium.org/1293773002/diff/40001/src/heap/mark-compact.h File src/heap/mark-compact.h (right): https://codereview.chromium.org/1293773002/diff/40001/src/heap/mark-compact.h#newcode765 src/heap/mark-compact.h:765: friend class MarkCompactMarkingVisitor; On 2015/08/17 ...
5 years, 4 months ago (2015-08-17 12:44:10 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1293773002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1293773002/80001
5 years, 4 months ago (2015-08-17 12:50:55 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 4 months ago (2015-08-17 13:09:34 UTC) #16
commit-bot: I haz the power
5 years, 4 months ago (2015-08-17 13:09:48 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/33922309919bf9a0aa9989b34560b3d60bcf9b82
Cr-Commit-Position: refs/heads/master@{#30194}

Powered by Google App Engine
This is Rietveld 408576698