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

Issue 12278025: Shrink QueryTracker when freeing everything (Closed)

Created:
7 years, 10 months ago by piman
Modified:
7 years, 10 months ago
Reviewers:
greggman
CC:
chromium-reviews, apatrick_chromium
Visibility:
Public.

Description

Shrink QueryTracker when freeing everything Before this, FreeEverything wouldn't free the shm associated with the QueryTracker, even when all queries have been deleted. shm being at a 2MB granularity, it leaves at least 2MB of shm per page. This fixes it. It removes the bucketing of QuerySyncs. The rationale is that the MappedMemoryManager already does pooling in shm chunks, and one extra level of pooling seems redundant. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=183019

Patch Set 1 #

Patch Set 2 : Restore buckets #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -12 lines) Patch
M gpu/command_buffer/client/gles2_implementation.cc View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/query_tracker.h View 1 4 chunks +19 lines, -6 lines 0 comments Download
M gpu/command_buffer/client/query_tracker.cc View 1 3 chunks +38 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
piman
7 years, 10 months ago (2013-02-16 01:52:40 UTC) #1
greggman
The reason there's a bucket is queries are rarely freed and having 8 byte allocations ...
7 years, 10 months ago (2013-02-16 02:09:28 UTC) #2
piman
On 2013/02/16 02:09:28, greggman wrote: > The reason there's a bucket is queries are rarely ...
7 years, 10 months ago (2013-02-16 02:19:49 UTC) #3
greggman
On 2013/02/16 02:19:49, piman wrote: > On 2013/02/16 02:09:28, greggman wrote: > > The reason ...
7 years, 10 months ago (2013-02-16 03:03:44 UTC) #4
piman
On Fri, Feb 15, 2013 at 7:03 PM, <gman@chromium.org> wrote: > On 2013/02/16 02:19:49, piman ...
7 years, 10 months ago (2013-02-16 03:12:32 UTC) #5
greggman
lgtm
7 years, 10 months ago (2013-02-16 05:14:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/12278025/5002
7 years, 10 months ago (2013-02-16 08:09:18 UTC) #7
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=85207
7 years, 10 months ago (2013-02-16 18:03:03 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/12278025/5002
7 years, 10 months ago (2013-02-16 22:07:10 UTC) #9
commit-bot: I haz the power
7 years, 10 months ago (2013-02-17 05:04:26 UTC) #10
Message was sent while issue was closed.
Change committed as 183019

Powered by Google App Engine
This is Rietveld 408576698