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

Issue 9581034: Disable the transfer_buffer_ cache by forcing it to be empty; work around (Closed)

Created:
8 years, 9 months ago by nfullagar
Modified:
8 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium
Visibility:
Public.

Description

Disable the transfer_buffer_ cache by forcing it to be empty; work around for Bastion. Todo added to re-enable when underlying sync is solved. BUG=http://code.google.com/p/chromium/issues/detail?id=116285 TEST=Bastion Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=124840

Patch Set 1 #

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M content/common/gpu/client/command_buffer_proxy.cc View 1 chunk +5 lines, -0 lines 2 comments Download

Messages

Total messages: 14 (0 generated)
nfullagar
8 years, 9 months ago (2012-03-03 00:56:45 UTC) #1
apatrick_chromium
LGTM
8 years, 9 months ago (2012-03-03 01:03:43 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nfullagar@google.com/9581034/2001
8 years, 9 months ago (2012-03-03 02:22:23 UTC) #3
commit-bot: I haz the power
Change committed as 124840
8 years, 9 months ago (2012-03-03 08:38:11 UTC) #4
piman
http://codereview.chromium.org/9581034/diff/2001/content/common/gpu/client/command_buffer_proxy.cc File content/common/gpu/client/command_buffer_proxy.cc (right): http://codereview.chromium.org/9581034/diff/2001/content/common/gpu/client/command_buffer_proxy.cc#newcode316 content/common/gpu/client/command_buffer_proxy.cc:316: transfer_buffers_[id] = buffer; How is the SharedMemory ever destroyed ...
8 years, 9 months ago (2012-03-05 22:55:13 UTC) #5
apatrick_chromium
http://codereview.chromium.org/9581034/diff/2001/content/common/gpu/client/command_buffer_proxy.cc File content/common/gpu/client/command_buffer_proxy.cc (right): http://codereview.chromium.org/9581034/diff/2001/content/common/gpu/client/command_buffer_proxy.cc#newcode316 content/common/gpu/client/command_buffer_proxy.cc:316: transfer_buffers_[id] = buffer; On 2012/03/05 22:55:13, piman wrote: > ...
8 years, 9 months ago (2012-03-05 23:00:38 UTC) #6
nfullagar
On 2012/03/05 23:00:38, apatrick_chromium wrote: > http://codereview.chromium.org/9581034/diff/2001/content/common/gpu/client/command_buffer_proxy.cc > File content/common/gpu/client/command_buffer_proxy.cc (right): > > http://codereview.chromium.org/9581034/diff/2001/content/common/gpu/client/command_buffer_proxy.cc#newcode316 > ...
8 years, 9 months ago (2012-03-05 23:07:36 UTC) #7
nfullagar
On 2012/03/05 23:07:36, nfullagar wrote: > On 2012/03/05 23:00:38, apatrick_chromium wrote: > > > http://codereview.chromium.org/9581034/diff/2001/content/common/gpu/client/command_buffer_proxy.cc ...
8 years, 9 months ago (2012-03-05 23:08:19 UTC) #8
piman
On 2012/03/05 23:07:36, nfullagar wrote: > On 2012/03/05 23:00:38, apatrick_chromium wrote: > > > http://codereview.chromium.org/9581034/diff/2001/content/common/gpu/client/command_buffer_proxy.cc ...
8 years, 9 months ago (2012-03-05 23:08:25 UTC) #9
nfullagar
well, here are the options - leave it as-is for m18; Bastion will crash & ...
8 years, 9 months ago (2012-03-05 23:17:51 UTC) #10
piman
On Mon, Mar 5, 2012 at 3:17 PM, Nicholas Fullagar <nfullagar@google.com>wrote: > well, here are ...
8 years, 9 months ago (2012-03-05 23:26:13 UTC) #11
nfullagar
Yes, this is a temporary. Within the time frame (Thurs / Fri) this is what ...
8 years, 9 months ago (2012-03-05 23:36:23 UTC) #12
piman
On Mon, Mar 5, 2012 at 3:36 PM, Nicholas Fullagar <nfullagar@google.com>wrote: > Yes, this is ...
8 years, 9 months ago (2012-03-05 23:42:53 UTC) #13
apatrick
8 years, 9 months ago (2012-03-05 23:53:25 UTC) #14
I checked checked canary. 19.0.1060.0 has a new memory leak. Just go to a
page that triggers the accelerated compositor and keep refreshing it. It
loses a few megs each time.

On Mon, Mar 5, 2012 at 3:42 PM, Antoine Labour <piman@chromium.org> wrote:

>
>
> On Mon, Mar 5, 2012 at 3:36 PM, Nicholas Fullagar <nfullagar@google.com>wrote:
>
>> Yes, this is a temporary.  Within the time frame (Thurs / Fri) this is
>> what we have.  It was checked in Friday, and should be in a canary build.
>>  I don't like the solution as it is either.  Did the canary die?
>>
>
> I don't know that the windows canary exercises the GPU process as much as,
> say, Chrome OS does (because of Pepper Flash).
>
>
>>
>> On Mon, Mar 5, 2012 at 3:25 PM, Antoine Labour <piman@chromium.org>wrote:
>>
>>>
>>>
>>> On Mon, Mar 5, 2012 at 3:17 PM, Nicholas Fullagar
<nfullagar@google.com>wrote:
>>>
>>>> well, here are the options
>>>> - leave it as-is for m18; Bastion will crash & untrusted code has the
>>>> capability to crash trusted code.
>>>> - merge the patch, transfer buffer resizing leaks.  How bad is this?
>>>>
>>>
>>> Bad: we'll run out of memory, out of address space, and out of file
>>> descriptors in renderers. We'll crash in very bad and subtle ways.
>>> That's without counting the perf cost.
>>>
>>> - come up with something better, but we're just about out of time for
>>>> m18.
>>>>
>>>
>>> Instead of applying a band aid, can we find the actual problem and fix
>>> that? Since it's a regression, can't we bisect?
>>>
>>> Antoine
>>>
>>>
>>>>
>>>>
>>>> On Mon, Mar 5, 2012 at 3:08 PM, <piman@chromium.org> wrote:
>>>>
>>>>> On 2012/03/05 23:07:36, nfullagar wrote:
>>>>>
>>>>>> On 2012/03/05 23:00:38, apatrick_chromium wrote:
>>>>>> >
>>>>>>
>>>>>
>>>>> http://codereview.chromium.**org/9581034/diff/2001/content/**
>>>>>
common/gpu/client/command_**buffer_proxy.cc<http://codereview.chromium.org/9581034/diff/2001/content/common/gpu/client/command_buffer_proxy.cc>
>>>>>
>>>>>> > File content/common/gpu/client/**command_buffer_proxy.cc (right):
>>>>>> >
>>>>>> >
>>>>>>
>>>>>
>>>>> http://codereview.chromium.**org/9581034/diff/2001/content/**
>>>>>
common/gpu/client/command_**buffer_proxy.cc#newcode316<http://codereview.chromium.org/9581034/diff/2001/content/common/gpu/client/command_buffer_proxy.cc#newcode316>
>>>>>
>>>>>> > content/common/gpu/client/**command_buffer_proxy.cc:316:
>>>>>> transfer_buffers_[id]
>>>>>>
>>>>> =
>>>>>
>>>>>> > buffer;
>>>>>> > On 2012/03/05 22:55:13, piman wrote:
>>>>>> > > How is the SharedMemory ever destroyed and unmapped now?
>>>>>> >
>>>>>> > Good point. Now the shared memory handles won't get closed and the
>>>>>> transfer
>>>>>> > buffers will all leak.
>>>>>>
>>>>>
>>>>>  That's the same issue I brought up this morning in conversation.
>>>>>>
>>>>>
>>>>>  It's either this or we can't run Bastion.
>>>>>>
>>>>>
>>>>> I think this is unacceptable for everything else that needs accelerated
>>>>> compositing though.
>>>>>
>>>>>
http://codereview.chromium.**org/9581034/<http://codereview.chromium.org/9581...
>>>>>
>>>>
>>>>
>>>
>>
>

Powered by Google App Engine
This is Rietveld 408576698