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

Issue 2217833003: Fix for issue 25954. (Closed)

Created:
4 years, 4 months ago by siva
Modified:
4 years, 2 months ago
Reviewers:
zra
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix for issue 25954 (Adjust heap growth amount for the case when the amount of garbage collected in the previous round is 0). out/ReleaseX64/dart ~/tmp/gc2.dart 1 permanent = 44739242 ephemeral = 671088620 21.875s out/ReleaseX64/dart ~/tmp/gc2.dart 2 permanent = 89478485 ephemeral = 1342177280 45.3s out/ReleaseX64/dart ~/tmp/gc2.dart 3 permanent = 134217728 ephemeral = 2013265920 79.41s out/ReleaseX64/dart ~/tmp/gc2.dart 4 permanent = 178956970 ephemeral = 2684354540 101.525s BUG=25954 R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/85cb1b3bd82f8f860e9a5aba15796f7c727b5a81

Patch Set 1 #

Total comments: 24

Patch Set 2 : Address code review comments. #

Patch Set 3 : Address code review comments. #

Total comments: 10

Patch Set 4 : Address code review comments. #

Patch Set 5 : Adjust comments. #

Patch Set 6 : Tweak the heap growth a bit for the case when there is garbage and we decide to grow by heap_growth… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -15 lines) Patch
M runtime/vm/pages.cc View 1 2 3 4 5 2 chunks +45 lines, -15 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
siva
4 years, 4 months ago (2016-08-05 23:33:47 UTC) #3
zra
I think I might need some help understanding how this works. https://codereview.chromium.org/2217833003/diff/1/runtime/vm/pages.cc File runtime/vm/pages.cc (right): ...
4 years, 4 months ago (2016-08-08 14:59:37 UTC) #4
siva
https://codereview.chromium.org/2217833003/diff/1/runtime/vm/pages.cc File runtime/vm/pages.cc (right): https://codereview.chromium.org/2217833003/diff/1/runtime/vm/pages.cc#newcode1160 runtime/vm/pages.cc:1160: int gc_time_fraction = history_.GarbageCollectionTimeFraction(); On 2016/08/08 14:59:37, zra wrote: ...
4 years, 4 months ago (2016-08-11 17:32:49 UTC) #5
zra
https://codereview.chromium.org/2217833003/diff/40001/runtime/vm/pages.cc File runtime/vm/pages.cc (right): https://codereview.chromium.org/2217833003/diff/40001/runtime/vm/pages.cc#newcode1181 runtime/vm/pages.cc:1181: if (garbage_ratio == 0) { Why 0? Why not ...
4 years, 4 months ago (2016-08-11 18:29:16 UTC) #6
siva
https://codereview.chromium.org/2217833003/diff/40001/runtime/vm/pages.cc File runtime/vm/pages.cc (right): https://codereview.chromium.org/2217833003/diff/40001/runtime/vm/pages.cc#newcode1181 runtime/vm/pages.cc:1181: if (garbage_ratio == 0) { On 2016/08/11 18:29:15, zra ...
4 years, 4 months ago (2016-08-11 23:05:52 UTC) #8
zra
lgtm
4 years, 4 months ago (2016-08-12 02:05:55 UTC) #9
siva
4 years, 2 months ago (2016-09-23 21:37:42 UTC) #11
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
85cb1b3bd82f8f860e9a5aba15796f7c727b5a81 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698