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

Issue 1314493007: [heap] Add compaction space. (Closed)

Created:
5 years, 3 months ago by Michael Lippautz
Modified:
5 years, 3 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] Add compaction space. The CompactionSpace is temporarily used during compaction to hold migrated objects. The payload is merged back into the corresponding space after compaction. Note the this is not the complete implementation and it is currently only used in a test. BUG=chromium:524425 LOG=N Committed: https://crrev.com/147330f37c122a4b537c8b79b29521af6f760d92 Cr-Commit-Position: refs/heads/master@{#30407}

Patch Set 1 #

Patch Set 2 : Minor fixes #

Total comments: 5

Patch Set 3 : Fix unlinking #

Patch Set 4 : add virtual method to differentiate between snapshotable and non-snapshotable spaces #

Patch Set 5 : typo #

Total comments: 4

Patch Set 6 : Addressed comment #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -69 lines) Patch
M src/heap/heap.cc View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download
M src/heap/spaces.h View 1 2 3 4 5 6 7 chunks +66 lines, -33 lines 0 comments Download
M src/heap/spaces.cc View 1 2 3 4 4 chunks +40 lines, -5 lines 0 comments Download
M test/cctest/test-spaces.cc View 1 2 3 4 5 2 chunks +74 lines, -28 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
Michael Lippautz
Hej Hannes, This is the initial CL we talked about. Will follow up with emergency ...
5 years, 3 months ago (2015-08-26 13:49:59 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1314493007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1314493007/20001
5 years, 3 months ago (2015-08-26 14:55:49 UTC) #3
commit-bot: I haz the power
Dry run: 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/9102)
5 years, 3 months ago (2015-08-26 15:05:31 UTC) #5
Michael Lippautz
PTAL, older comments still apply. https://codereview.chromium.org/1314493007/diff/80001/src/heap/spaces.h File src/heap/spaces.h (right): https://codereview.chromium.org/1314493007/diff/80001/src/heap/spaces.h#newcode1942 src/heap/spaces.h:1942: virtual bool snapshotable() { ...
5 years, 3 months ago (2015-08-27 11:04:39 UTC) #6
Hannes Payer (out of office)
LGTM https://codereview.chromium.org/1314493007/diff/80001/src/heap/spaces.cc File src/heap/spaces.cc (right): https://codereview.chromium.org/1314493007/diff/80001/src/heap/spaces.cc#newcode1004 src/heap/spaces.cc:1004: void PagedSpace::MergeCompactionSpace(CompactionSpace* other) { Nice! https://codereview.chromium.org/1314493007/diff/80001/test/cctest/test-spaces.cc File test/cctest/test-spaces.cc ...
5 years, 3 months ago (2015-08-27 11:14:20 UTC) #8
Michael Lippautz
https://codereview.chromium.org/1314493007/diff/80001/test/cctest/test-spaces.cc File test/cctest/test-spaces.cc (right): https://codereview.chromium.org/1314493007/diff/80001/test/cctest/test-spaces.cc#newcode433 test/cctest/test-spaces.cc:433: CHECK_LE(old_space->CountTotalPages(), On 2015/08/27 11:14:20, Hannes Payer wrote: > Shouldn't ...
5 years, 3 months ago (2015-08-27 11:28:07 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1314493007/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1314493007/120001
5 years, 3 months ago (2015-08-27 11:29:43 UTC) #12
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 3 months ago (2015-08-27 12:16:05 UTC) #13
commit-bot: I haz the power
5 years, 3 months ago (2015-08-27 12:16:31 UTC) #14
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/147330f37c122a4b537c8b79b29521af6f760d92
Cr-Commit-Position: refs/heads/master@{#30407}

Powered by Google App Engine
This is Rietveld 408576698