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

Issue 220723010: Generalize the interface of page space controller. (Closed)

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

Description

Generalize the interface of page space controller. Gather used/capacity/external into SpaceUsage object, and use it for testing whether GC is needed before or after an allocation. This refactor does not affect policy, but prepares for: 1. Replacing promotion failure check/tracking. 2. Better growth control for external allocation. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=34736

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 2

Patch Set 8 : #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -95 lines) Patch
M runtime/vm/heap.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -6 lines 0 comments Download
M runtime/vm/heap.cc View 1 2 3 4 5 6 7 8 4 chunks +18 lines, -24 lines 0 comments Download
M runtime/vm/pages.h View 1 2 3 4 5 6 7 8 7 chunks +23 lines, -12 lines 0 comments Download
M runtime/vm/pages.cc View 1 2 3 4 5 6 7 8 17 chunks +53 lines, -53 lines 0 comments Download
M runtime/vm/scavenger.h View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -0 lines 0 comments Download
A runtime/vm/spaces.h View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
koda
6 years, 8 months ago (2014-04-01 23:32:00 UTC) #1
koda
Updated EvaluateGarbageCollection to completely mimic current policy.
6 years, 8 months ago (2014-04-03 17:03:32 UTC) #2
Ivan Posva
Looking at the updated CL now, but had these two comments pending... -Ivan https://codereview.chromium.org/220723010/diff/100001/runtime/vm/pages.cc File ...
6 years, 8 months ago (2014-04-04 16:19:10 UTC) #3
koda
On 2014/04/04 16:19:10, Ivan Posva wrote: > Looking at the updated CL now, but had ...
6 years, 8 months ago (2014-04-04 16:29:53 UTC) #4
Ivan Posva
Thanks for the explanations. LGTM -Ivan
6 years, 8 months ago (2014-04-04 16:46:24 UTC) #5
koda
6 years, 8 months ago (2014-04-04 17:46:20 UTC) #6
Message was sent while issue was closed.
Committed patchset #9 manually as r34736 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698