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

Issue 1218863002: Replace reduce-memory mode in idle notification with delayed clean-up GC. (Closed)

Created:
5 years, 5 months ago by ulan
Modified:
5 years, 5 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

Replace reduce-memory mode in idle notification with delayed clean-up GC. BUG=490559 LOG=NO Committed: https://crrev.com/0ecd9e1bd2c6b519d4e7285f46cb7e844bc2235c Cr-Commit-Position: refs/heads/master@{#29451}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : Fix gn #

Patch Set 8 : Improve tracing #

Patch Set 9 : tweak tracing #

Patch Set 10 : Allow to start GC if fragmentation is high even #

Total comments: 10

Patch Set 11 : Address comments #

Patch Set 12 : Reset no-progress-counter in idle-time-handler when starting incremental marking #

Patch Set 13 : fix int -> double #

Total comments: 10

Patch Set 14 : Address comments #

Patch Set 15 : Check if incremental marking can be activated #

Patch Set 16 : Remove the scavenge event and check for high fragmentation #

Patch Set 17 : Fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+659 lines, -630 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M src/heap/gc-idle-time-handler.h View 1 2 3 4 5 6 7 8 9 10 11 10 chunks +9 lines, -76 lines 0 comments Download
M src/heap/gc-idle-time-handler.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +10 lines, -161 lines 0 comments Download
M src/heap/heap.h View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +11 lines, -5 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 12 chunks +54 lines, -43 lines 0 comments Download
A src/heap/memory-reducer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +135 lines, -0 lines 0 comments Download
A src/heap/memory-reducer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +140 lines, -0 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -0 lines 0 comments Download
M test/unittests/heap/gc-idle-time-handler-unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 11 chunks +54 lines, -345 lines 0 comments Download
A test/unittests/heap/memory-reducer-unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +237 lines, -0 lines 0 comments Download
M test/unittests/unittests.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M tools/gyp/v8.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
ulan
PTAL
5 years, 5 months ago (2015-06-30 11:01:35 UTC) #2
Hannes Payer (out of office)
First round. Really nice cleanup, already looking good. Just a few minor comments (so far). ...
5 years, 5 months ago (2015-07-01 12:03:17 UTC) #3
ulan
Thanks. Uploaded new PS. https://codereview.chromium.org/1218863002/diff/180001/src/heap/cleanup-gc.cc File src/heap/cleanup-gc.cc (right): https://codereview.chromium.org/1218863002/diff/180001/src/heap/cleanup-gc.cc#newcode132 src/heap/cleanup-gc.cc:132: void CleanupGC::ScheduleTimer(double delay_ms) { On ...
5 years, 5 months ago (2015-07-01 12:51:48 UTC) #4
Hannes Payer (out of office)
LGTM, if memory and latency did not regression. Super nice cleanup! Just a few nits ...
5 years, 5 months ago (2015-07-02 13:19:06 UTC) #5
ulan
Thanks! https://codereview.chromium.org/1218863002/diff/240001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/1218863002/diff/240001/BUILD.gn#newcode832 BUILD.gn:832: "src/heap/memory-reducer.cc", On 2015/07/02 13:19:06, Hannes Payer wrote: > ...
5 years, 5 months ago (2015-07-02 13:30:16 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1218863002/260001
5 years, 5 months ago (2015-07-02 13:30:52 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel/builds/5706)
5 years, 5 months ago (2015-07-02 13:38:02 UTC) #11
ulan
I removed the scavenge event, since the check for allocation throughput should subsume it. I ...
5 years, 5 months ago (2015-07-02 14:39:38 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1218863002/320001
5 years, 5 months ago (2015-07-02 15:06:18 UTC) #16
commit-bot: I haz the power
Committed patchset #17 (id:320001)
5 years, 5 months ago (2015-07-02 15:41:33 UTC) #17
commit-bot: I haz the power
Patchset 17 (id:??) landed as https://crrev.com/0ecd9e1bd2c6b519d4e7285f46cb7e844bc2235c Cr-Commit-Position: refs/heads/master@{#29451}
5 years, 5 months ago (2015-07-02 15:41:46 UTC) #18
Michael Achenbach
5 years, 5 months ago (2015-07-05 17:49:12 UTC) #19
Message was sent while issue was closed.
A revert of this CL (patchset #17 id:320001) has been created in
https://codereview.chromium.org/1226703002/ by machenbach@chromium.org.

The reason for reverting is: [Sheriff] Looks like it blocks the roll (bisected).
Speculative revert.
https://codereview.chromium.org/1210293003/.

Powered by Google App Engine
This is Rietveld 408576698