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

Issue 1518803005: Reland of "[cctest] Add tests for aborting compaction of pages" (Closed)

Created:
5 years ago by Michael Lippautz
Modified:
5 years ago
CC:
v8-reviews_googlegroups.com, Hannes Payer (out of office), ulan
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Reland of "[cctest] Add tests for aborting compaction of pages" Tests for * aborting a full page. * partially aborting a page. * partially aborting a page with pointers between aborted pages. * partially aborting a page with store buffer entries. Also introduces force_oom() which prohibits a old space to expand BUG=chromium:524425 LOG=N CQ_EXTRA_TRYBOTS=tryserver.v8:v8_linux_nosnap_rel,v8_linux_nosnap_dbg,v8_win_nosnap_shared_rel,v8_win_nosnap_shared_compile_rel Committed: https://crrev.com/2bb51df9bde1ac79593030e635d7bfafb07b298a Cr-Commit-Position: refs/heads/master@{#32899}

Patch Set 1 : baseline #

Patch Set 2 : Fixed tests for builds that start with more than one initial page #

Patch Set 3 : Add flag NEVER_ALLOCATE_ON_PAGE to pages that prohibits allocating on them #

Patch Set 4 : Removed dead code #

Total comments: 2

Patch Set 5 : Filter out never allocate pages during initializing sweeping #

Total comments: 5

Patch Set 6 : s/CanAllocateOnPage/CanAllocate/ #

Patch Set 7 : Sweep NEVER_ALLOCATE_ON_PAGE pages. Memory gets dropped in the free list again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+406 lines, -39 lines) Patch
M src/heap/heap.h View 3 chunks +6 lines, -0 lines 0 comments Download
M src/heap/heap.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M src/heap/spaces.h View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M src/heap/spaces.cc View 1 2 3 4 5 4 chunks +4 lines, -5 lines 0 comments Download
M test/cctest/cctest.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/heap/heap-tester.h View 1 chunk +18 lines, -14 lines 0 comments Download
A test/cctest/heap/test-compaction.cc View 1 2 1 chunk +340 lines, -0 lines 0 comments Download
M test/cctest/heap/utils-inl.h View 1 2 3 2 chunks +18 lines, -19 lines 0 comments Download

Messages

Total messages: 31 (17 generated)
Michael Lippautz
PTAL
5 years ago (2015-12-11 11:58:44 UTC) #4
Hannes Payer (out of office)
https://codereview.chromium.org/1518803005/diff/60001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1518803005/diff/60001/src/heap/mark-compact.cc#newcode3681 src/heap/mark-compact.cc:3681: if (!p->IsFlagSet(Page::NEVER_ALLOCATE_ON_PAGE)) { I think I would prefer dropping ...
5 years ago (2015-12-11 16:10:38 UTC) #5
Michael Lippautz
PTAL https://codereview.chromium.org/1518803005/diff/60001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1518803005/diff/60001/src/heap/mark-compact.cc#newcode3681 src/heap/mark-compact.cc:3681: if (!p->IsFlagSet(Page::NEVER_ALLOCATE_ON_PAGE)) { On 2015/12/11 16:10:37, Hannes Payer ...
5 years ago (2015-12-16 09:24:56 UTC) #6
Hannes Payer (out of office)
https://codereview.chromium.org/1518803005/diff/80001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1518803005/diff/80001/src/heap/mark-compact.cc#newcode3781 src/heap/mark-compact.cc:3781: p->ResetLiveBytes(); Should we really reset live bytes here? That ...
5 years ago (2015-12-16 12:07:15 UTC) #7
Michael Lippautz
https://codereview.chromium.org/1518803005/diff/80001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1518803005/diff/80001/src/heap/mark-compact.cc#newcode3781 src/heap/mark-compact.cc:3781: p->ResetLiveBytes(); On 2015/12/16 12:07:14, Hannes Payer wrote: > Should ...
5 years ago (2015-12-16 12:13:14 UTC) #8
Hannes Payer (out of office)
lgtm https://codereview.chromium.org/1518803005/diff/80001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1518803005/diff/80001/src/heap/mark-compact.cc#newcode3781 src/heap/mark-compact.cc:3781: p->ResetLiveBytes(); On 2015/12/16 12:13:14, Michael Lippautz wrote: > ...
5 years ago (2015-12-16 12:44:00 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/1518803005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1518803005/100001
5 years ago (2015-12-16 12:49:49 UTC) #14
commit-bot: I haz the power
Dry run: Transient error: Too many "tryserver.v8:v8_linux_nosnap_rel,tryserver.v8:v8_linux_nosnap_dbg,v8_win_nosnap_shared_rel,v8_win_nosnap_shared_compile_rel" delimiters in ":". Correct syntax is "tryserver:bot1,bot2;tryserver2:bot3,bot4;".
5 years ago (2015-12-16 12:49:51 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1518803005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1518803005/100001
5 years ago (2015-12-16 12:50:48 UTC) #19
commit-bot: I haz the power
Transient error: Too many "tryserver.v8:v8_linux_nosnap_rel,tryserver.v8:v8_linux_nosnap_dbg,tryserver.v8:v8_win_nosnap_shared_rel,tryserver.v8:v8_win_nosnap_shared_compile_rel" delimiters in ":". Correct syntax is "tryserver:bot1,bot2;tryserver2:bot3,bot4;".
5 years ago (2015-12-16 12:50:51 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1518803005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1518803005/100001
5 years ago (2015-12-16 12:51:58 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1518803005/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1518803005/120001
5 years ago (2015-12-16 13:26:43 UTC) #27
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years ago (2015-12-16 14:06:37 UTC) #29
commit-bot: I haz the power
5 years ago (2015-12-16 14:07:02 UTC) #31
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/2bb51df9bde1ac79593030e635d7bfafb07b298a
Cr-Commit-Position: refs/heads/master@{#32899}

Powered by Google App Engine
This is Rietveld 408576698