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

Issue 2575803002: Bug fix: TranferBufferManager's SharedMemory memory usage reporting was wrong (Closed)

Created:
4 years ago by hajimehoshi
Modified:
3 years, 7 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Bug fix: TranferBufferManager's SharedMemory memory usage reporting was wrong TranferBufferManager takes buffers whose backing store might or might not be SharedMemory, but accumulates shared memory usage no matter what the buffer is. This CL fixes this to make TranferBufferManager count shared memory usage only when the buffer's backing store is SharedMemory. BUG=604726 TEST=gpu_unittests --gtest_filter=TransferBufferManagerTest.* CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/6c8897721e2df9a0ec3677d0a13d677c457e5e1e Cr-Commit-Position: refs/heads/master@{#439419}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -11 lines) Patch
M gpu/command_buffer/common/buffer.h View 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/buffer.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/transfer_buffer_manager.cc View 4 chunks +16 lines, -11 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
hajimehoshi
PTAL
4 years ago (2016-12-14 10:38:15 UTC) #5
jbauman
lgtm
4 years ago (2016-12-15 21:31:11 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2575803002/1
4 years ago (2016-12-19 05:42:03 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-19 06:50:25 UTC) #14
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/6c8897721e2df9a0ec3677d0a13d677c457e5e1e Cr-Commit-Position: refs/heads/master@{#439419}
4 years ago (2016-12-19 06:53:19 UTC) #16
hajimehoshi
+ericrk This CL removes a global shared dump and an edge to it when the ...
3 years, 7 months ago (2017-05-24 03:42:30 UTC) #19
hajimehoshi
3 years, 7 months ago (2017-05-26 04:15:24 UTC) #21
Message was sent while issue was closed.
On 2017/05/24 03:42:30, hajimehoshi wrote:
> +ericrk
> 
> This CL removes a global shared dump and an edge to it when the back end is
not
> base::SharedMemory. However, as we discussed at
> https://codereview.chromium.org/2866973003/, I understood the global shared
dump
> are needed regardless of back end. Do you think this CL should be reverted?
> Thanks.

As ssid@ and I discussed, we are going to revert this.

Powered by Google App Engine
This is Rietveld 408576698