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

Issue 1365743003: Reland of "[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

Reland of "[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. This reverts commit bfccd5187ceb21c99feea4538e08ca7aef48b65b. BUG=chromium:524425 LOG=N Committed: https://crrev.com/7e283d746a194ceaaca114e2ba17504653d6a109 Cr-Commit-Position: refs/heads/master@{#30945}

Patch Set 1 : Base #

Patch Set 2 : Account for borrowed memory separately and tighten memory sharing interface #

Total comments: 18

Patch Set 3 : Addressed some comments #

Patch Set 4 : Added further comments to code. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -81 lines) Patch
M src/heap/mark-compact.h View 1 chunk +2 lines, -5 lines 0 comments Download
M src/heap/mark-compact.cc View 1 4 chunks +27 lines, -23 lines 0 comments Download
M src/heap/spaces.h View 1 2 3 11 chunks +93 lines, -23 lines 0 comments Download
M src/heap/spaces.cc View 1 2 4 chunks +80 lines, -20 lines 0 comments Download
M test/cctest/test-spaces.cc View 1 3 chunks +4 lines, -10 lines 0 comments Download

Messages

Total messages: 28 (11 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1365743003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1365743003/40001
5 years, 3 months ago (2015-09-24 14:39:45 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_nodcheck_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nodcheck_rel/builds/6859)
5 years, 3 months ago (2015-09-24 14:53:44 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1365743003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1365743003/60001
5 years, 2 months ago (2015-09-25 09:45:15 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-09-25 10:09:40 UTC) #10
Michael Lippautz
PTAL; This implements dividing up memory properly now, keeping the counters sane. I am still ...
5 years, 2 months ago (2015-09-25 10:36:47 UTC) #12
Hannes Payer (out of office)
https://codereview.chromium.org/1365743003/diff/60001/src/heap/spaces.cc File src/heap/spaces.cc (right): https://codereview.chromium.org/1365743003/diff/60001/src/heap/spaces.cc#newcode1504 src/heap/spaces.cc:1504: void NewSpace::InlineAllocationStep(Address top, Address new_top) { Uh, looks like ...
5 years, 2 months ago (2015-09-25 13:04:51 UTC) #13
Hannes Payer (out of office)
https://codereview.chromium.org/1365743003/diff/60001/src/heap/spaces.cc File src/heap/spaces.cc (right): https://codereview.chromium.org/1365743003/diff/60001/src/heap/spaces.cc#newcode1504 src/heap/spaces.cc:1504: void NewSpace::InlineAllocationStep(Address top, Address new_top) { On 2015/09/25 13:04:51, ...
5 years, 2 months ago (2015-09-25 13:07:38 UTC) #14
Hannes Payer (out of office)
https://codereview.chromium.org/1365743003/diff/60001/src/heap/spaces.h File src/heap/spaces.h (right): https://codereview.chromium.org/1365743003/diff/60001/src/heap/spaces.h#newcode1513 src/heap/spaces.h:1513: void Merge(const AllocationStats& other) { Why don't you reset ...
5 years, 2 months ago (2015-09-25 13:16:00 UTC) #15
Michael Lippautz
PTAL; Sorry for the diff, but the baseline was uploaded before ToT landed fixes. I ...
5 years, 2 months ago (2015-09-25 13:28:50 UTC) #16
Hannes Payer (out of office)
lgtm, with nits https://codereview.chromium.org/1365743003/diff/60001/src/heap/spaces.h File src/heap/spaces.h (right): https://codereview.chromium.org/1365743003/diff/60001/src/heap/spaces.h#newcode1521 src/heap/spaces.h:1521: capacity_ -= other.borrowed_; On 2015/09/25 13:28:50, ...
5 years, 2 months ago (2015-09-25 14:11:07 UTC) #17
Michael Lippautz
https://codereview.chromium.org/1365743003/diff/60001/src/heap/spaces.h File src/heap/spaces.h (right): https://codereview.chromium.org/1365743003/diff/60001/src/heap/spaces.h#newcode1521 src/heap/spaces.h:1521: capacity_ -= other.borrowed_; On 2015/09/25 14:11:07, Hannes Payer wrote: ...
5 years, 2 months ago (2015-09-25 14:31:39 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1365743003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1365743003/100001
5 years, 2 months ago (2015-09-25 14:32:36 UTC) #20
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-09-25 14:58:38 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1365743003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1365743003/100001
5 years, 2 months ago (2015-09-25 15:03:12 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:100001)
5 years, 2 months ago (2015-09-25 15:05:14 UTC) #26
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/7e283d746a194ceaaca114e2ba17504653d6a109 Cr-Commit-Position: refs/heads/master@{#30945}
5 years, 2 months ago (2015-09-25 15:05:25 UTC) #27
Michael Lippautz
5 years, 2 months ago (2015-09-25 15:40:10 UTC) #28
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:100001) has been created in
https://codereview.chromium.org/1371653002/ by mlippautz@chromium.org.

The reason for reverting is: failing again:
https://chromegw.corp.google.com/i/client.v8/builders/V8%20Mac/builds/4505/st....

Powered by Google App Engine
This is Rietveld 408576698