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

Issue 211593004: Reduce GC from external allocation. (Closed)

Created:
6 years, 9 months ago by koda
Modified:
6 years, 9 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Anders Johnsen
Visibility:
Public.

Description

Reduce GC from external allocation. Before, external allocs artificially reduced new space capacity. Now, we separately limit on total external size in new space. Makes scavenges less frequent, while still limiting total footprint. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=34485

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 7

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -23 lines) Patch
M runtime/vm/dart_api_impl_test.cc View 1 2 3 2 chunks +13 lines, -8 lines 0 comments Download
M runtime/vm/heap.cc View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M runtime/vm/scavenger.h View 1 2 3 3 chunks +0 lines, -4 lines 0 comments Download
M runtime/vm/scavenger.cc View 1 2 3 4 chunks +0 lines, -11 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
koda
6 years, 9 months ago (2014-03-25 22:37:38 UTC) #1
koda
This improves HttpRequest and HttpRequestData benchmarks by 5-8%, and does not hurt others.
6 years, 9 months ago (2014-03-26 00:18:17 UTC) #2
Anders Johnsen
Yay for speedup! :) https://codereview.chromium.org/211593004/diff/90002/runtime/vm/heap.cc File runtime/vm/heap.cc (right): https://codereview.chromium.org/211593004/diff/90002/runtime/vm/heap.cc#newcode99 runtime/vm/heap.cc:99: if (new_space_->ExternalInWords() > FLAG_new_gen_ext_limit * ...
6 years, 9 months ago (2014-03-26 07:09:04 UTC) #3
koda
https://codereview.chromium.org/211593004/diff/90002/runtime/vm/heap.cc File runtime/vm/heap.cc (right): https://codereview.chromium.org/211593004/diff/90002/runtime/vm/heap.cc#newcode99 runtime/vm/heap.cc:99: if (new_space_->ExternalInWords() > FLAG_new_gen_ext_limit * MBInWords) { On 2014/03/26 ...
6 years, 9 months ago (2014-03-26 16:16:28 UTC) #4
Anders Johnsen
https://codereview.chromium.org/211593004/diff/90002/runtime/vm/heap.cc File runtime/vm/heap.cc (right): https://codereview.chromium.org/211593004/diff/90002/runtime/vm/heap.cc#newcode99 runtime/vm/heap.cc:99: if (new_space_->ExternalInWords() > FLAG_new_gen_ext_limit * MBInWords) { On 2014/03/26 ...
6 years, 9 months ago (2014-03-26 18:05:26 UTC) #5
Anders Johnsen
6 years, 9 months ago (2014-03-26 18:05:28 UTC) #6
Ivan Posva
LGTM -ip https://codereview.chromium.org/211593004/diff/90002/runtime/vm/dart_api_impl_test.cc File runtime/vm/dart_api_impl_test.cc (right): https://codereview.chromium.org/211593004/diff/90002/runtime/vm/dart_api_impl_test.cc#newcode2318 runtime/vm/dart_api_impl_test.cc:2318: weak1 = Dart_NewWeakPersistentHandle(obj, Please add comments where ...
6 years, 9 months ago (2014-03-27 21:18:15 UTC) #7
koda
https://codereview.chromium.org/211593004/diff/90002/runtime/vm/dart_api_impl_test.cc File runtime/vm/dart_api_impl_test.cc (right): https://codereview.chromium.org/211593004/diff/90002/runtime/vm/dart_api_impl_test.cc#newcode2318 runtime/vm/dart_api_impl_test.cc:2318: weak1 = Dart_NewWeakPersistentHandle(obj, On 2014/03/27 21:18:16, Ivan Posva wrote: ...
6 years, 9 months ago (2014-03-27 22:11:13 UTC) #8
koda
6 years, 9 months ago (2014-03-27 22:11:43 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 manually as r34485 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698