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

Issue 1354383002: [heap] Add more tasks for parallel compaction (Closed)

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

Description

[heap] Add more tasks for parallel compaction - We now compute the number of parallel compaction tasks, depending on the evacuation candidate list, the number of cores, and some hard limit. - Free memory is moved over to compaction tasks (up to some limit) - Moving over memory is done by dividing the free list of a given space up among other free lists. Since this is potentially slow we limit the maximum amount of moved memory. BUG=chromium:524425 LOG=N Committed: https://crrev.com/0e842418835eea85886a06cf37052895bc8a17db Cr-Commit-Position: refs/heads/master@{#30886}

Patch Set 1 #

Patch Set 2 : Add FreeList::Divide #

Patch Set 3 : Some minor simplifications #

Patch Set 4 : Compute number of parallel compaction tasks #

Patch Set 5 : Turn on parallel compaction #

Total comments: 12

Patch Set 6 : Addressed comments #

Patch Set 7 : Fix accounting of memory shared among paged spaces #

Total comments: 3

Patch Set 8 : Base dividing free lists upon new freelist methods #

Patch Set 9 : Fix typo #

Patch Set 10 : Fix access scopes of new methods #

Total comments: 2

Patch Set 11 : Addressed comments round 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -44 lines) Patch
M src/heap/mark-compact.h View 1 2 3 4 5 1 chunk +2 lines, -5 lines 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 4 5 6 7 3 chunks +25 lines, -13 lines 0 comments Download
M src/heap/spaces.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +41 lines, -6 lines 0 comments Download
M src/heap/spaces.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +75 lines, -18 lines 0 comments Download
M test/cctest/test-spaces.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
Michael Lippautz
WDYT?
5 years, 2 months ago (2015-09-23 07:13:09 UTC) #2
Hannes Payer (out of office)
https://codereview.chromium.org/1354383002/diff/80001/src/flag-definitions.h File src/flag-definitions.h (right): https://codereview.chromium.org/1354383002/diff/80001/src/flag-definitions.h#newcode663 src/flag-definitions.h:663: DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") This should be done ...
5 years, 2 months ago (2015-09-23 07:26:03 UTC) #3
Michael Lippautz
https://codereview.chromium.org/1354383002/diff/80001/src/flag-definitions.h File src/flag-definitions.h (right): https://codereview.chromium.org/1354383002/diff/80001/src/flag-definitions.h#newcode663 src/flag-definitions.h:663: DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") On 2015/09/23 07:26:03, Hannes ...
5 years, 2 months ago (2015-09-23 07:40:50 UTC) #4
Hannes Payer (out of office)
lgtm
5 years, 2 months ago (2015-09-23 07:53:12 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1354383002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1354383002/100001
5 years, 2 months ago (2015-09-23 07:53:48 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: v8_mac_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel/builds/9969)
5 years, 2 months ago (2015-09-23 08:06:05 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1354383002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1354383002/120001
5 years, 2 months ago (2015-09-23 08:38:26 UTC) #11
Hannes Payer (out of office)
https://codereview.chromium.org/1354383002/diff/120001/src/heap/spaces.h File src/heap/spaces.h (right): https://codereview.chromium.org/1354383002/diff/120001/src/heap/spaces.h#newcode2006 src/heap/spaces.h:2006: void AddExternalMemory(Address start, int size_in_bytes) { Call it AddMemory, ...
5 years, 2 months ago (2015-09-23 08:47:22 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-09-23 09:03:08 UTC) #14
Michael Lippautz
Please have a look at the restructured methods for adding and removing memory. https://codereview.chromium.org/1354383002/diff/120001/src/heap/spaces.h File ...
5 years, 2 months ago (2015-09-23 11:49:02 UTC) #15
Hannes Payer (out of office)
lgtm https://codereview.chromium.org/1354383002/diff/180001/src/heap/spaces.h File src/heap/spaces.h (right): https://codereview.chromium.org/1354383002/diff/180001/src/heap/spaces.h#newcode1697 src/heap/spaces.h:1697: enum FreeListCat { kSmall, kMedium, kLarge, kHuge }; ...
5 years, 2 months ago (2015-09-23 12:00:43 UTC) #16
Michael Lippautz
https://codereview.chromium.org/1354383002/diff/180001/src/heap/spaces.h File src/heap/spaces.h (right): https://codereview.chromium.org/1354383002/diff/180001/src/heap/spaces.h#newcode1697 src/heap/spaces.h:1697: enum FreeListCat { kSmall, kMedium, kLarge, kHuge }; On ...
5 years, 2 months ago (2015-09-23 12:03:59 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1354383002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1354383002/200001
5 years, 2 months ago (2015-09-23 12:04:23 UTC) #20
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 2 months ago (2015-09-23 12:28:59 UTC) #21
commit-bot: I haz the power
Patchset 11 (id:??) landed as https://crrev.com/0e842418835eea85886a06cf37052895bc8a17db Cr-Commit-Position: refs/heads/master@{#30886}
5 years, 2 months ago (2015-09-23 12:29:21 UTC) #22
Michael Achenbach
5 years, 2 months ago (2015-09-23 13:46:22 UTC) #23
Message was sent while issue was closed.
A revert of this CL (patchset #11 id:200001) has been created in
https://codereview.chromium.org/1356363005/ by machenbach@chromium.org.

The reason for reverting is: [Sheriff] May have caused this new flake:
http://build.chromium.org/p/client.v8/builders/V8%20Linux/builds/5412
.

Powered by Google App Engine
This is Rietveld 408576698