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

Issue 2359903002: [heap] New heuristics for incremental marking step size. (Closed)

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

Description

[heap] New heuristics for incremental marking step size. This patch simplifies code for speeding up marking and removes write barrier counter. The step size is now computed based in two parts: - bytes to mark in order to keep up with allocation, - bytes to mark in order to make progress. BUG=chromium:616434, chromium:646139, chromium:644819 LOG=NO Committed: https://crrev.com/1beb89f24cb01663843a7519921e7caf0910c760 Cr-Commit-Position: refs/heads/master@{#39827}

Patch Set 1 : x #

Patch Set 2 : 10 #

Patch Set 3 : tracing #

Patch Set 4 : 5ms #

Patch Set 5 : 5ms #

Patch Set 6 : 1mb #

Patch Set 7 : 5ms #

Patch Set 8 : small optimization #

Patch Set 9 : comments #

Total comments: 9

Patch Set 10 : address some comments #

Patch Set 11 : use space iterator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -305 lines) Patch
M src/arm/code-stubs-arm.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -10 lines 0 comments Download
M src/arm64/code-stubs-arm64.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M src/heap/heap.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +7 lines, -10 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +2 lines, -15 lines 0 comments Download
M src/heap/incremental-marking.h View 2 5 chunks +25 lines, -45 lines 0 comments Download
M src/heap/incremental-marking.cc View 1 2 3 4 5 6 7 8 9 10 11 chunks +92 lines, -192 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -11 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M test/cctest/heap/test-heap.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (15 generated)
ulan
ptal
4 years, 3 months ago (2016-09-22 14:26:20 UTC) #8
Hannes Payer (out of office)
Pretty! Looking good. Just minor things. https://codereview.chromium.org/2359903002/diff/250001/src/heap/incremental-marking.cc File src/heap/incremental-marking.cc (right): https://codereview.chromium.org/2359903002/diff/250001/src/heap/incremental-marking.cc#newcode68 src/heap/incremental-marking.cc:68: IncrementalMarking* marking = ...
4 years, 2 months ago (2016-09-26 14:32:06 UTC) #9
Hannes Payer (out of office)
On 2016/09/26 14:32:06, Hannes Payer wrote: > Pretty! Looking good. Just minor things. > > ...
4 years, 2 months ago (2016-09-27 07:44:59 UTC) #10
ulan
https://codereview.chromium.org/2359903002/diff/250001/src/heap/incremental-marking.cc File src/heap/incremental-marking.cc (right): https://codereview.chromium.org/2359903002/diff/250001/src/heap/incremental-marking.cc#newcode68 src/heap/incremental-marking.cc:68: IncrementalMarking* marking = isolate->heap()->incremental_marking(); On 2016/09/26 14:32:05, Hannes Payer ...
4 years, 2 months ago (2016-09-27 17:02:09 UTC) #11
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/2359903002/290001
4 years, 2 months ago (2016-09-28 13:24:48 UTC) #18
commit-bot: I haz the power
Committed patchset #11 (id:290001)
4 years, 2 months ago (2016-09-28 13:27:49 UTC) #20
commit-bot: I haz the power
Patchset 11 (id:??) landed as https://crrev.com/1beb89f24cb01663843a7519921e7caf0910c760 Cr-Commit-Position: refs/heads/master@{#39827}
4 years, 2 months ago (2016-09-28 13:28:05 UTC) #22
Michael Achenbach
FYI: Looks like this broke mips compile: https://build.chromium.org/p/client.v8.ports/builders/V8%20Mips%20-%20builder/builds/4177
4 years, 2 months ago (2016-09-29 09:10:24 UTC) #23
Michael Achenbach
On 2016/09/29 09:10:24, machenbach (slow) wrote: > FYI: Looks like this broke mips compile: > ...
4 years, 2 months ago (2016-09-29 09:10:48 UTC) #24
ulan
4 years, 2 months ago (2016-09-29 10:08:30 UTC) #25
Message was sent while issue was closed.
On 2016/09/29 09:10:48, machenbach (slow) wrote:
> On 2016/09/29 09:10:24, machenbach (slow) wrote:
> > FYI: Looks like this broke mips compile:
> >
>
https://build.chromium.org/p/client.v8.ports/builders/V8%20Mips%20-%20builder...
> 
> No reverting needed, but fix welcome...

fix in CQ

Powered by Google App Engine
This is Rietveld 408576698