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

Issue 11363226: Fail new space promotions only when old space is truly exhausted. (Closed)

Created:
8 years, 1 month ago by cshapiro
Modified:
8 years, 1 month ago
Reviewers:
siva, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fail new space promotions only when old space is truly exhausted. Committed: https://code.google.com/p/dart/source/detail?r=14935

Patch Set 1 #

Total comments: 5

Patch Set 2 : address review comments #

Total comments: 1

Patch Set 3 : correct growth policy default #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -7 lines) Patch
M runtime/vm/heap.h View 1 2 1 chunk +10 lines, -3 lines 0 comments Download
M runtime/vm/scavenger.cc View 1 6 chunks +36 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
cshapiro
8 years, 1 month ago (2012-11-13 23:39:03 UTC) #1
Ivan Posva
https://codereview.chromium.org/11363226/diff/1/runtime/vm/scavenger.cc File runtime/vm/scavenger.cc (right): https://codereview.chromium.org/11363226/diff/1/runtime/vm/scavenger.cc#newcode188 runtime/vm/scavenger.cc:188: bytes_promoted_ += size; Comment above has been separated from ...
8 years, 1 month ago (2012-11-14 21:07:18 UTC) #2
cshapiro
https://codereview.chromium.org/11363226/diff/1/runtime/vm/scavenger.cc File runtime/vm/scavenger.cc (right): https://codereview.chromium.org/11363226/diff/1/runtime/vm/scavenger.cc#newcode188 runtime/vm/scavenger.cc:188: bytes_promoted_ += size; I do not follow. Do you ...
8 years, 1 month ago (2012-11-14 22:47:36 UTC) #3
cshapiro
PTAL In the mean time I will benchmark the smaller new space.
8 years, 1 month ago (2012-11-15 00:51:59 UTC) #4
Ivan Posva
LGTM with comment. -Ivan https://codereview.chromium.org/11363226/diff/1003/runtime/vm/heap.h File runtime/vm/heap.h (right): https://codereview.chromium.org/11363226/diff/1003/runtime/vm/heap.h#newcode79 runtime/vm/heap.h:79: PageSpace::GrowthPolicy growth_policy = PageSpace::kForceGrowth) { ...
8 years, 1 month ago (2012-11-15 01:02:24 UTC) #5
cshapiro
8 years, 1 month ago (2012-11-15 01:05:27 UTC) #6
fixed!

Powered by Google App Engine
This is Rietveld 408576698