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

Issue 282513003: gpu: Assert that FencedAllocator is empty in destructor (Closed)

Created:
6 years, 7 months ago by jadahl
Modified:
6 years, 7 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

gpu: Assert that FencedAllocator is empty in destructor With the commit "gpu: Reuse transfer buffers more aggresively" mapped memory is free:ed on lost context. This means that we can reinstate the DCHECKs in the FencedAllocator destructor that checks that all blocks have been free:ed by their owner. Tests that didn't explicitly free mapped memory now do so, and one test that tested that leaking was OK has been removed. BUG=328808 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270991

Patch Set 1 #

Patch Set 2 : Fixed 64 bit only test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -15 lines) Patch
M gpu/command_buffer/client/fenced_allocator.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M gpu/command_buffer/client/mapped_memory_unittest.cc View 4 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
jadahl
This was discussed a while back, in the code review of the previous CL of ...
6 years, 7 months ago (2014-05-12 09:14:55 UTC) #1
piman
LGTM, thank.
6 years, 7 months ago (2014-05-12 19:29:44 UTC) #2
jadahl
The CQ bit was checked by jadahl@opera.com
6 years, 7 months ago (2014-05-13 07:26:24 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jadahl@opera.com/282513003/1
6 years, 7 months ago (2014-05-13 07:26:29 UTC) #4
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-13 10:45:49 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-13 11:11:47 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_x64_rel/builds/9721)
6 years, 7 months ago (2014-05-13 11:11:47 UTC) #7
jadahl
Uploaded an updated version where tests also pass on 64 bit (as the test did ...
6 years, 7 months ago (2014-05-15 12:18:27 UTC) #8
piman
lgtm
6 years, 7 months ago (2014-05-15 17:07:15 UTC) #9
jadahl
The CQ bit was checked by jadahl@opera.com
6 years, 7 months ago (2014-05-16 07:23:13 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jadahl@opera.com/282513003/20001
6 years, 7 months ago (2014-05-16 07:23:24 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-16 09:18:23 UTC) #12
commit-bot: I haz the power
Failed to apply patch for @master/gpu/command_buffer/client/fenced_allocator.cc: While running svn add @master --force --config-dir /b/infra_internal/commit_queue/subversion_config --non-interactive; ...
6 years, 7 months ago (2014-05-16 09:18:23 UTC) #13
jadahl
The CQ bit was checked by jadahl@opera.com
6 years, 7 months ago (2014-05-16 09:22:11 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jadahl@opera.com/282513003/20001
6 years, 7 months ago (2014-05-16 09:22:58 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-16 09:23:55 UTC) #16
commit-bot: I haz the power
Failed to apply patch for @master/gpu/command_buffer/client/fenced_allocator.cc: While running svn add @master --force --config-dir /b/infra_internal/commit_queue/subversion_config --non-interactive; ...
6 years, 7 months ago (2014-05-16 09:23:55 UTC) #17
Paweł Hajdan Jr.
The CQ bit was checked by phajdan.jr@chromium.org
6 years, 7 months ago (2014-05-16 11:00:03 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jadahl@opera.com/282513003/20001
6 years, 7 months ago (2014-05-16 11:00:11 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-16 11:02:20 UTC) #20
commit-bot: I haz the power
Failed to apply patch for @master/gpu/command_buffer/client/fenced_allocator.cc: While running svn add @master --force --config-dir /b/infra_internal/commit_queue/subversion_config --non-interactive; ...
6 years, 7 months ago (2014-05-16 11:02:21 UTC) #21
Paweł Hajdan Jr.
The CQ bit was checked by phajdan.jr@chromium.org
6 years, 7 months ago (2014-05-16 11:19:53 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jadahl@opera.com/282513003/20001
6 years, 7 months ago (2014-05-16 11:20:28 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-16 11:21:11 UTC) #24
commit-bot: I haz the power
Failed to apply patch for @master/gpu/command_buffer/client/fenced_allocator.cc: While running svn add @master --force --config-dir /b/infra_internal/commit_queue/subversion_config --non-interactive; ...
6 years, 7 months ago (2014-05-16 11:21:12 UTC) #25
Paweł Hajdan Jr.
The CQ bit was checked by phajdan.jr@chromium.org
6 years, 7 months ago (2014-05-16 11:27:38 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jadahl@opera.com/282513003/20001
6 years, 7 months ago (2014-05-16 11:27:59 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-16 11:29:00 UTC) #28
commit-bot: I haz the power
Failed to apply patch for @master/gpu/command_buffer/client/fenced_allocator.cc: While running svn add @master --force --config-dir /b/infra_internal/commit_queue/subversion_config --non-interactive; ...
6 years, 7 months ago (2014-05-16 11:29:01 UTC) #29
Paweł Hajdan Jr.
The CQ bit was checked by phajdan.jr@chromium.org
6 years, 7 months ago (2014-05-16 11:40:24 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jadahl@opera.com/282513003/20001
6 years, 7 months ago (2014-05-16 11:40:39 UTC) #31
commit-bot: I haz the power
6 years, 7 months ago (2014-05-16 11:41:42 UTC) #32
Message was sent while issue was closed.
Change committed as 270991

Powered by Google App Engine
This is Rietveld 408576698