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

Issue 3001423002: Initial idle GC logic. (Closed)

Created:
3 years, 4 months ago by rmacnak
Modified:
3 years, 3 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Initial idle GC logic. Use the speed of previous scavenges to estimate the time required for the next scavenge. When we receive an initial notification, perform a scavenge if we have allocated enough and we estimate we can complete the scavenge before the deadline. Expand the time recorded for a scavenge to include safepointing and iterating roots. R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/86f602d0201afbfddd545d003edea0634c371352

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 4

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : divide-by-zero #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -9 lines) Patch
M runtime/vm/dart_api_impl.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download
M runtime/vm/heap.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/heap.cc View 1 2 3 3 chunks +11 lines, -1 line 0 comments Download
M runtime/vm/scavenger.h View 1 2 3 3 chunks +8 lines, -1 line 0 comments Download
M runtime/vm/scavenger.cc View 1 2 3 4 5 8 chunks +61 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
rmacnak
3 years, 4 months ago (2017-08-22 23:20:57 UTC) #2
siva
lgtm with come coments. Is it possible to add a unit test in dart_api_impl_test.cc that ...
3 years, 3 months ago (2017-08-31 01:17:50 UTC) #4
rmacnak
Add test and missing safepoint transition, PTAL https://codereview.chromium.org/3001423002/diff/40001/runtime/vm/scavenger.cc File runtime/vm/scavenger.cc (right): https://codereview.chromium.org/3001423002/diff/40001/runtime/vm/scavenger.cc#newcode439 runtime/vm/scavenger.cc:439: // complete ...
3 years, 3 months ago (2017-09-01 00:37:01 UTC) #5
siva
lgtm
3 years, 3 months ago (2017-09-01 02:26:12 UTC) #6
rmacnak
3 years, 3 months ago (2017-09-01 16:38:14 UTC) #8
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
86f602d0201afbfddd545d003edea0634c371352 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698