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

Issue 226973003: Simpler, more consistent triggering of old GC; also, use external in policy. (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

Simpler, more consistent triggering of old GC; also, use external in policy. Consistently use PageSpace::NeedsGarbageCollection: (a) After every scavenge, instead of tracking promotion failures. (b) When creating weak handles with external allocations. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=35174

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 4

Patch Set 6 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -61 lines) Patch
M runtime/vm/dart_api_impl_test.cc View 1 2 3 4 5 8 chunks +51 lines, -10 lines 1 comment Download
M runtime/vm/dart_api_state.h View 1 2 3 2 chunks +1 line, -4 lines 0 comments Download
M runtime/vm/heap.h View 1 2 3 3 chunks +4 lines, -2 lines 0 comments Download
M runtime/vm/heap.cc View 1 2 3 5 chunks +20 lines, -14 lines 0 comments Download
M runtime/vm/pages.h View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M runtime/vm/scavenger.h View 1 2 3 2 chunks +0 lines, -7 lines 0 comments Download
M runtime/vm/scavenger.cc View 1 2 3 4 chunks +2 lines, -22 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
koda
6 years, 8 months ago (2014-04-17 22:50:55 UTC) #1
Ivan Posva
Couple of questions, but generally looks good. -Ivan https://codereview.chromium.org/226973003/diff/80001/runtime/vm/dart_api_impl_test.cc File runtime/vm/dart_api_impl_test.cc (right): https://codereview.chromium.org/226973003/diff/80001/runtime/vm/dart_api_impl_test.cc#newcode2374 runtime/vm/dart_api_impl_test.cc:2374: EXPECT_EQ(kSmallExternalSize, ...
6 years, 8 months ago (2014-04-18 16:11:26 UTC) #2
koda
https://codereview.chromium.org/226973003/diff/80001/runtime/vm/dart_api_impl_test.cc File runtime/vm/dart_api_impl_test.cc (right): https://codereview.chromium.org/226973003/diff/80001/runtime/vm/dart_api_impl_test.cc#newcode2374 runtime/vm/dart_api_impl_test.cc:2374: EXPECT_EQ(kSmallExternalSize, On 2014/04/18 16:11:26, Ivan Posva wrote: > You ...
6 years, 8 months ago (2014-04-18 16:38:18 UTC) #3
Ivan Posva
LGTM -ip https://codereview.chromium.org/226973003/diff/100001/runtime/vm/dart_api_impl_test.cc File runtime/vm/dart_api_impl_test.cc (right): https://codereview.chromium.org/226973003/diff/100001/runtime/vm/dart_api_impl_test.cc#newcode2400 runtime/vm/dart_api_impl_test.cc:2400: Dart_Handle dart_true = Dart_True(); // VM heap ...
6 years, 8 months ago (2014-04-18 16:41:21 UTC) #4
koda
6 years, 8 months ago (2014-04-18 18:23:58 UTC) #5
Message was sent while issue was closed.
Committed patchset #6 manually as r35174 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698