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

Issue 257009: Rollback Scavenge implemetation and rely on existing functionality to free... (Closed)

Created:
11 years, 2 months ago by jar (doing other things)
Modified:
9 years, 7 months ago
Reviewers:
Mike Belshe, antonm
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, Erik does not do reviews, jam, pam+watch_chromium.org, darin (slow to review), jamesr
Visibility:
Public.

Description

Rollback Scavenge implemetation and rely on existing functionality to free This is a landing of a patch provided by antonm. See: http://codereview.chromium.org/235022 Also included change to browser_about_handler.cc to fix build, and I set TCMALLOC_RELEASE_RATE to 1.0 on line 40 of page_heap.cc (I think this was an inadvertent rollback element). r=antonm

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -726 lines) Patch
M chrome/browser/browser_about_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/render_thread.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/tcmalloc/config_linux.h View 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/tcmalloc/config_win.h View 1 chunk +0 lines, -6 lines 0 comments Download
D third_party/tcmalloc/google/malloc_extension.h View 1 chunk +0 lines, -239 lines 0 comments Download
D third_party/tcmalloc/malloc_extension.cc View 1 chunk +0 lines, -326 lines 0 comments Download
M third_party/tcmalloc/page_heap.h View 3 chunks +1 line, -31 lines 0 comments Download
M third_party/tcmalloc/page_heap.cc View 1 9 chunks +3 lines, -106 lines 0 comments Download
M third_party/tcmalloc/tcmalloc.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/tcmalloc/tcmalloc.gyp View 3 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
jar (doing other things)
11 years, 2 months ago (2009-09-30 21:41:08 UTC) #1
jar (doing other things)
I landed this, but gcl did not properly close it. The message read: Committed revision ...
11 years, 2 months ago (2009-10-01 00:28:14 UTC) #2
Anton Muhin
Thanks a lot, Jim! yours, anton. On Thu, Oct 1, 2009 at 4:28 AM, <jar@chromium.org> ...
11 years, 2 months ago (2009-10-01 12:58:25 UTC) #3
Anton Muhin
Jim, setting rate to 0 was intentional---that disable IncrementalScavenge. yours, anton. On Thu, Oct 1, ...
11 years, 2 months ago (2009-10-01 13:05:52 UTC) #4
jar (doing other things)
The critical point was that without incremental scavenging, we'd currently have no way to release ...
11 years, 2 months ago (2009-10-01 18:20:41 UTC) #5
Anton Muhin
11 years, 2 months ago (2009-10-01 18:24:19 UTC) #6
Not in the active tab (currently), but in the hidden yes.  Was
planning to invoke release for active tab as well, but now it's
probably unnecessary.

yours,
anton.

On Thu, Oct 1, 2009 at 10:20 PM, Jim Roskind <jar@chromium.org> wrote:
> The critical point was that without incremental scavenging, we'd currentl=
y
> have no way to release memory in the browser process. =A0Having this
> incremental scavenge gave us at least a chance to hammer down our browser
> usage over time.
> Was there some other way that the browser would have moved off its
> high-water mark without this setting?
>
> Jim
>
> On Thu, Oct 1, 2009 at 6:05 AM, Anton Muhin <antonm@google.com> wrote:
>>
>> Jim,
>>
>> setting rate to 0 was intentional---that disable IncrementalScavenge.
>>
>> yours,
>> anton.
>>
>> On Thu, Oct 1, 2009 at 1:41 AM, =A0<jar@chromium.org> wrote:
>> > Reviewers: antonm, Mike Belshe,
>> >
>> > Description:
>> > Rollback Scavenge implemetation and rely on existing functionality to
>> > free
>> >
>> > This is a landing of a patch provided by antonm. =A0See:
>> > http://codereview.chromium.org/235022
>> >
>> > Also included change to browser_about_handler.cc to fix build, and I s=
et
>> > TCMALLOC_RELEASE_RATE to 1.0 on line 40 of page_heap.cc (I think this
>> > was an inadvertent rollback element).
>> >
>> > r=3Dantonm
>> >
>> > Please review this at http://codereview.chromium.org/257009
>> >
>> > SVN Base: svn://chrome-svn/chrome/trunk/src/
>> >
>> > Affected files:
>> > =A0M =A0 =A0 chrome/browser/browser_about_handler.cc
>> > =A0M =A0 =A0 chrome/renderer/render_thread.cc
>> > =A0M =A0 =A0 third_party/tcmalloc/config_linux.h
>> > =A0M =A0 =A0 third_party/tcmalloc/config_win.h
>> > =A0D =A0 =A0 third_party/tcmalloc/google/malloc_extension.h
>> > =A0D =A0 =A0 third_party/tcmalloc/malloc_extension.cc
>> > =A0M =A0 =A0 third_party/tcmalloc/page_heap.h
>> > =A0M =A0 =A0 third_party/tcmalloc/page_heap.cc
>> > =A0M =A0 =A0 third_party/tcmalloc/tcmalloc.cc
>> > =A0M =A0 =A0 third_party/tcmalloc/tcmalloc.gyp
>> >
>> >
>> >
>
>

Powered by Google App Engine
This is Rietveld 408576698