Reland of "[heap] Add more tasks for parallel compaction"
authormlippautz <mlippautz@chromium.org>
Fri, 25 Sep 2015 15:05:07 +0000 (08:05 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 25 Sep 2015 15:05:15 +0000 (15:05 +0000)
commit7e283d746a194ceaaca114e2ba17504653d6a109
tree66467fbfb1077e989d778dcc9dbd6ba5afa15446
parent6256dc53cc62cd720c3b1869fcb04f1ab2110d62
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

Review URL: https://codereview.chromium.org/1365743003

Cr-Commit-Position: refs/heads/master@{#30945}
src/heap/mark-compact.cc
src/heap/mark-compact.h
src/heap/spaces.cc
src/heap/spaces.h
test/cctest/test-spaces.cc