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

Issue 2364923002: [heap] New heuristics for starting of incremental marking. (Closed)

Created:
4 years, 3 months ago by ulan
Modified:
4 years, 2 months ago
CC:
v8-reviews_googlegroups.com, Hannes Payer (out of office), ulan
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[heap] New heuristics for starting of incremental marking. The motivation for this patch is to move more marking work to tasks. This is done by postponing the start of incremental marking until a marking task is running. This patch introduces a soft and a hard limits for incremental marking. When the soft limit is reached, the marking task is scheduled. If the hard limit is reached before the task is running, then incremental marking is started without waiting for the task. BUG=chromium:616434 LOG=NO Committed: https://crrev.com/55683ddd2a32e0dfb8df66271fbf53e3618cce9d Cr-Commit-Position: refs/heads/master@{#39831}

Patch Set 1 #

Patch Set 2 : x #

Patch Set 3 : rebase #

Patch Set 4 : clean up #

Patch Set 5 : comment #

Patch Set 6 : rebase #

Total comments: 2

Patch Set 7 : rename ReachedIncrementalMarkingLimit to IncrementalMarkingLimitReached #

Patch Set 8 : rebase #

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -80 lines) Patch
M src/heap/heap.h View 1 2 3 4 5 6 7 5 chunks +19 lines, -15 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 5 6 7 8 5 chunks +57 lines, -13 lines 0 comments Download
M src/heap/heap-inl.h View 1 2 3 4 5 6 7 2 chunks +0 lines, -19 lines 0 comments Download
M src/heap/incremental-marking.h View 1 2 3 5 2 chunks +6 lines, -2 lines 0 comments Download
M src/heap/incremental-marking.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -16 lines 0 comments Download
M src/heap/incremental-marking-job.cc View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M src/heap/spaces.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -13 lines 0 comments Download
M test/cctest/heap/heap-tester.h View 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/heap/test-heap.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 18 (11 generated)
ulan
PTAL
4 years, 2 months ago (2016-09-26 13:29:14 UTC) #4
Hannes Payer (out of office)
nice, lgtm https://codereview.chromium.org/2364923002/diff/100001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/2364923002/diff/100001/src/heap/heap.cc#newcode5361 src/heap/heap.cc:5361: Heap::IncrementalMarkingLimit Heap::ReachedIncrementalMarkingLimit() { nit: maybe rename to ...
4 years, 2 months ago (2016-09-27 09:16:53 UTC) #5
ulan
https://codereview.chromium.org/2364923002/diff/100001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/2364923002/diff/100001/src/heap/heap.cc#newcode5361 src/heap/heap.cc:5361: Heap::IncrementalMarkingLimit Heap::ReachedIncrementalMarkingLimit() { On 2016/09/27 09:16:53, Hannes Payer wrote: ...
4 years, 2 months ago (2016-09-27 17:06:41 UTC) #6
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/2364923002/160001
4 years, 2 months ago (2016-09-28 14:10:43 UTC) #13
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 2 months ago (2016-09-28 14:43:29 UTC) #15
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/55683ddd2a32e0dfb8df66271fbf53e3618cce9d Cr-Commit-Position: refs/heads/master@{#39831}
4 years, 2 months ago (2016-09-28 14:44:28 UTC) #17
Michael Achenbach
4 years, 2 months ago (2016-09-28 15:19:32 UTC) #18
Message was sent while issue was closed.
A revert of this CL (patchset #9 id:160001) has been created in
https://codereview.chromium.org/2375983002/ by machenbach@chromium.org.

The reason for reverting is: OOMs in nosnap debug:
https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20nosnap%20-%2....

Powered by Google App Engine
This is Rietveld 408576698