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

Issue 2250423002: [heap] Don't unmap new space pages while sweeping is active (Closed)

Created:
4 years, 4 months ago by Michael Lippautz
Modified:
4 years, 4 months 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

[heap] Don't unmap new space pages while sweeping is active - The barrier for scavenge only checked for whether new space pages were swept. This is not enough as a concurrent task could still hang right before trying to lock the page for sweeping. Remove the barrier completely. - Avoid unmapping of new space pages while sweeping using a delayed list that gets emptied upon the next call to the unmapper. BUG=chromium:628984 R=hpayer@chromium.org Committed: https://crrev.com/982b399423e6bd941cabb2b825031cd8d5eb4980 Cr-Commit-Position: refs/heads/master@{#38710}

Patch Set 1 #

Patch Set 2 : Fixes #

Patch Set 3 : Remove weak barrier #

Total comments: 6

Patch Set 4 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -13 lines) Patch
M src/heap/heap.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M src/heap/mark-compact.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M src/heap/mark-compact.cc View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M src/heap/spaces.h View 1 2 3 3 chunks +13 lines, -1 line 0 comments Download
M src/heap/spaces.cc View 1 2 3 3 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (18 generated)
Michael Lippautz
4 years, 4 months ago (2016-08-17 14:28:59 UTC) #10
Hannes Payer (out of office)
https://codereview.chromium.org/2250423002/diff/60001/src/heap/spaces.cc File src/heap/spaces.cc (right): https://codereview.chromium.org/2250423002/diff/60001/src/heap/spaces.cc#newcode387 src/heap/spaces.cc:387: void MemoryAllocator::Unmapper::ReconsiderDelayedChunks() { I would rename ReconsiderDelayedChunks to AddDelayedChunks ...
4 years, 4 months ago (2016-08-18 09:38:43 UTC) #13
Michael Lippautz
https://codereview.chromium.org/2250423002/diff/60001/src/heap/spaces.cc File src/heap/spaces.cc (right): https://codereview.chromium.org/2250423002/diff/60001/src/heap/spaces.cc#newcode387 src/heap/spaces.cc:387: void MemoryAllocator::Unmapper::ReconsiderDelayedChunks() { On 2016/08/18 09:38:42, Hannes Payer wrote: ...
4 years, 4 months ago (2016-08-18 09:59:40 UTC) #14
Hannes Payer (out of office)
lgtm
4 years, 4 months ago (2016-08-18 10:34:22 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2250423002/80001
4 years, 4 months ago (2016-08-18 10:54:25 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 4 months ago (2016-08-18 10:56:08 UTC) #23
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/982b399423e6bd941cabb2b825031cd8d5eb4980 Cr-Commit-Position: refs/heads/master@{#38710}
4 years, 4 months ago (2016-08-18 10:56:26 UTC) #25
Michael Lippautz
4 years, 4 months ago (2016-08-18 11:29:46 UTC) #26
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:80001) has been created in
https://codereview.chromium.org/2244233007/ by mlippautz@chromium.org.

The reason for reverting is: The barrier in newspace is still needed..

Powered by Google App Engine
This is Rietveld 408576698