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

Issue 1480553004: [heap] Tweak evacuation candidate selection. (Closed)

Created:
5 years ago by Michael Lippautz
Modified:
5 years ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[heap] Tweak evacuation candidate selection. Compaction selection now derives target fragmentation based on compaction speed and a goal per page, if compaction speed has been traced. This way we avoid overlong compaction of single pages. This change could regress memory consumption if (a) the memory reducer does not kick in, and (b) lots of medium fragmented pages would be compacted in our fast path. BUG=chromium:524425 LOG=N Committed: https://crrev.com/97f1bac47e51d48c271e3144513ac0b90cad90ff Cr-Commit-Position: refs/heads/master@{#32361}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : Addressed comment #

Total comments: 4

Patch Set 4 : Factored out computing heuristics #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -32 lines) Patch
M src/heap/mark-compact.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 5 chunks +76 lines, -32 lines 0 comments Download

Messages

Total messages: 27 (15 generated)
Michael Lippautz
PTAL https://codereview.chromium.org/1480553004/diff/100001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1480553004/diff/100001/src/heap/mark-compact.cc#newcode693 src/heap/mark-compact.cc:693: const int kTargetFragmentationPercent = 70; Increased the default ...
5 years ago (2015-11-26 13:19:08 UTC) #9
Michael Lippautz
PTAL https://codereview.chromium.org/1480553004/diff/100001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1480553004/diff/100001/src/heap/mark-compact.cc#newcode693 src/heap/mark-compact.cc:693: const int kTargetFragmentationPercent = 70; Increased the default ...
5 years ago (2015-11-26 13:19:08 UTC) #10
ulan
lgtm https://codereview.chromium.org/1480553004/diff/100001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1480553004/diff/100001/src/heap/mark-compact.cc#newcode715 src/heap/mark-compact.cc:715: if (target_fragmentation_percent < 0) { Let's cap it ...
5 years ago (2015-11-26 14:15:59 UTC) #11
Michael Lippautz
https://codereview.chromium.org/1480553004/diff/100001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1480553004/diff/100001/src/heap/mark-compact.cc#newcode715 src/heap/mark-compact.cc:715: if (target_fragmentation_percent < 0) { On 2015/11/26 14:15:59, ulan ...
5 years ago (2015-11-26 14:36:31 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1480553004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1480553004/120001
5 years ago (2015-11-26 15:19:51 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-11-26 16:21:42 UTC) #16
Hannes Payer (out of office)
https://codereview.chromium.org/1480553004/diff/120001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1480553004/diff/120001/src/heap/mark-compact.cc#newcode682 src/heap/mark-compact.cc:682: // them starting at page with the most free ...
5 years ago (2015-11-27 07:57:27 UTC) #17
Michael Lippautz
https://codereview.chromium.org/1480553004/diff/120001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1480553004/diff/120001/src/heap/mark-compact.cc#newcode682 src/heap/mark-compact.cc:682: // them starting at page with the most free ...
5 years ago (2015-11-27 08:30:58 UTC) #19
Hannes Payer (out of office)
lgtm
5 years ago (2015-11-27 08:34:20 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1480553004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1480553004/160001
5 years ago (2015-11-27 08:34:36 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:160001)
5 years ago (2015-11-27 09:03:02 UTC) #25
commit-bot: I haz the power
5 years ago (2015-11-27 09:03:43 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/97f1bac47e51d48c271e3144513ac0b90cad90ff
Cr-Commit-Position: refs/heads/master@{#32361}

Powered by Google App Engine
This is Rietveld 408576698