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

Issue 1343333002: [heap] Introduce parallel compaction algorithm. (Closed)

Created:
5 years, 3 months ago by Michael Lippautz
Modified:
5 years, 3 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@counters-2nd-try
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[heap] Introduce parallel compaction algorithm. - The number of parallel tasks is still 1, i.e., we only compact on the main thread. - Remove emergency memory (PagedSpace, and CodeRange) - Introduce partial compaction of pages. - Logic for multiple tasks is in place. BUG=chromium:524425 LOG=N Committed: https://crrev.com/61ea4f55616d3f7bc2ce049a678f16f7475e03e0 Cr-Commit-Position: refs/heads/master@{#30787}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Addressed first round of comments #

Patch Set 3 : Remove unused declarations of emergency memory related methods #

Patch Set 4 : Rebase on master containing the counter modifications #

Patch Set 5 : Fix case of aborted compaction #

Total comments: 8

Patch Set 6 : Addressed second round of comments #

Total comments: 16

Patch Set 7 : Addressed third round of comments #

Patch Set 8 : Fix bug with deallocating the slotsbuffer chain #

Patch Set 9 : Fix moving free list / merge compaction space dance #

Unified diffs Side-by-side diffs Delta from patch set Stats (+218 lines, -195 lines) Patch
M src/heap/mark-compact.h View 1 2 3 4 5 6 2 chunks +13 lines, -5 lines 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 4 5 6 7 8 10 chunks +135 lines, -84 lines 0 comments Download
M src/heap/spaces.h View 1 2 3 4 5 6 9 chunks +47 lines, -22 lines 0 comments Download
M src/heap/spaces.cc View 1 2 3 4 5 6 7 8 8 chunks +23 lines, -84 lines 0 comments Download

Messages

Total messages: 22 (6 generated)
Hannes Payer (out of office)
First round of comments. https://codereview.chromium.org/1343333002/diff/1/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1343333002/diff/1/src/heap/mark-compact.cc#newcode3374 src/heap/mark-compact.cc:3374: bool MarkCompactCollector::EvacuateLiveObjectsFromPageWithoutEmergency( I do not ...
5 years, 3 months ago (2015-09-16 09:35:41 UTC) #2
Michael Lippautz
Thanks PTAL; I also removed the unused code now as we agreed on switching to ...
5 years, 3 months ago (2015-09-16 10:55:08 UTC) #3
Hannes Payer (out of office)
Getting there... https://codereview.chromium.org/1343333002/diff/80001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1343333002/diff/80001/src/heap/mark-compact.cc#newcode3375 src/heap/mark-compact.cc:3375: compaction_spaces_for_tasks[i] = new CompactionSpaceCollection(heap()); Let's move the ...
5 years, 3 months ago (2015-09-16 12:46:24 UTC) #4
Michael Lippautz
PTAL https://codereview.chromium.org/1343333002/diff/80001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1343333002/diff/80001/src/heap/mark-compact.cc#newcode3375 src/heap/mark-compact.cc:3375: compaction_spaces_for_tasks[i] = new CompactionSpaceCollection(heap()); On 2015/09/16 12:46:24, Hannes ...
5 years, 3 months ago (2015-09-16 13:22:00 UTC) #5
Hannes Payer (out of office)
looking good https://codereview.chromium.org/1343333002/diff/100001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1343333002/diff/100001/src/heap/mark-compact.cc#newcode3422 src/heap/mark-compact.cc:3422: // - Leave the slots buffer there ...
5 years, 3 months ago (2015-09-16 14:07:30 UTC) #6
Michael Lippautz
https://codereview.chromium.org/1343333002/diff/100001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1343333002/diff/100001/src/heap/mark-compact.cc#newcode3422 src/heap/mark-compact.cc:3422: // - Leave the slots buffer there for processing ...
5 years, 3 months ago (2015-09-16 14:38:09 UTC) #7
Hannes Payer (out of office)
lgtm
5 years, 3 months ago (2015-09-16 14:41:14 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1343333002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1343333002/120001
5 years, 3 months ago (2015-09-16 14:41:36 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/9675)
5 years, 3 months ago (2015-09-16 15:02:09 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1343333002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1343333002/160001
5 years, 3 months ago (2015-09-16 17:53:03 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-16 18:28:13 UTC) #16
Hannes Payer (out of office)
lgtm
5 years, 3 months ago (2015-09-17 07:34:18 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1343333002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1343333002/160001
5 years, 3 months ago (2015-09-17 07:34:39 UTC) #19
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 3 months ago (2015-09-17 07:36:04 UTC) #20
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/61ea4f55616d3f7bc2ce049a678f16f7475e03e0 Cr-Commit-Position: refs/heads/master@{#30787}
5 years, 3 months ago (2015-09-17 07:36:16 UTC) #21
Michael Lippautz
5 years, 3 months ago (2015-09-17 07:57:57 UTC) #22
Message was sent while issue was closed.
A revert of this CL (patchset #9 id:160001) has been created in
https://codereview.chromium.org/1347873003/ by mlippautz@chromium.org.

The reason for reverting is: Check failed:
https://chromegw.corp.google.com/i/client.v8/builders/V8%20Win64/builds/5535/....

Powered by Google App Engine
This is Rietveld 408576698