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

Issue 10442073: Implement growth policy for old space using time and space signals. (Closed)

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

Description

Implement growth policy for old space using time and space signals. Committed: https://code.google.com/p/dart/source/detail?r=8136

Patch Set 1 #

Total comments: 18

Patch Set 2 : address review comments #

Total comments: 6

Patch Set 3 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -5 lines) Patch
M runtime/vm/dart.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/heap.h View 2 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/heap.cc View 1 2 3 chunks +8 lines, -1 line 0 comments Download
M runtime/vm/pages.h View 1 2 3 chunks +75 lines, -0 lines 0 comments Download
M runtime/vm/pages.cc View 1 2 6 chunks +114 lines, -3 lines 0 comments Download
M runtime/vm/scavenger.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/scavenger.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
cshapiro
8 years, 6 months ago (2012-05-29 21:41:45 UTC) #1
Ivan Posva
https://chromiumcodereview.appspot.com/10442073/diff/1/runtime/vm/dart.cc File runtime/vm/dart.cc (right): https://chromiumcodereview.appspot.com/10442073/diff/1/runtime/vm/dart.cc#newcode99 runtime/vm/dart.cc:99: isolate->heap()->EnableGrowthControl(); This means that the growth policy is only ...
8 years, 6 months ago (2012-05-29 23:27:37 UTC) #2
cshapiro
PTAL https://chromiumcodereview.appspot.com/10442073/diff/1/runtime/vm/dart.cc File runtime/vm/dart.cc (right): https://chromiumcodereview.appspot.com/10442073/diff/1/runtime/vm/dart.cc#newcode99 runtime/vm/dart.cc:99: isolate->heap()->EnableGrowthControl(); On 2012/05/29 23:27:37, Ivan Posva wrote: > ...
8 years, 6 months ago (2012-05-30 17:56:24 UTC) #3
Ivan Posva
As discussed we also need to deal with the promotion failures, which was a big ...
8 years, 6 months ago (2012-05-30 20:21:23 UTC) #4
cshapiro
8 years, 6 months ago (2012-05-30 23:39:54 UTC) #5
PTAL

http://codereview.chromium.org/10442073/diff/1006/runtime/vm/pages.cc
File runtime/vm/pages.cc (right):

http://codereview.chromium.org/10442073/diff/1006/runtime/vm/pages.cc#newcode202
runtime/vm/pages.cc:202: page_space_controller_.CanGrowPageSpace(kPageSize) &&
Byte size.  Done.

http://codereview.chromium.org/10442073/diff/1006/runtime/vm/pages.cc#newcode354
runtime/vm/pages.cc:354: int64_t elapsed = timer.TotalElapsedTime() *
kMicrosecondsPerMillisecond;
Made unconditional.  Done.

http://codereview.chromium.org/10442073/diff/1006/runtime/vm/pages.cc#newcode394
runtime/vm/pages.cc:394: bool PageSpaceController::CanGrowPageSpace(intptr_t
num_pages) {
On 2012/05/30 20:21:24, Ivan Posva wrote:
> num_pages or byte size?

Done.

Powered by Google App Engine
This is Rietveld 408576698