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

Issue 1506023008: [NOT LANDED] Revert of cc: Split ThreadProxy into ProxyMain and ProxyImpl (Closed)

Created:
5 years ago by engedy
Modified:
5 years ago
CC:
Wez, cc-bugs_chromium.org, chromium-reviews, scheduler-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of cc: Split ThreadProxy into ProxyMain and ProxyImpl (patchset #24 id:460001 of https://codereview.chromium.org/1417053005/ ) Reason for revert: Quite likely causing substantial flakiness in cc_unittests on 'Win7 Tests (dbg)(1)'. LayerTreeHostCopyRequestCompletionCausesCommit.RunMultiThread_DirectRenderer (run #1): [ RUN ] LayerTreeHostCopyRequestCompletionCausesCommit.RunMultiThread_DirectRenderer c:uild\slave\win_builder__dbg_uild\src\cc rees\layer_tree_host_unittest_copyrequest.cc(222): error: Value of: callback_count_ Actual: 0 Expected: 1 [ FAILED ] LayerTreeHostCopyRequestCompletionCausesCommit.RunMultiThread_DirectRenderer (23 ms) See: https://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%281%29 Original issue's description: > cc: Split ThreadProxy into ProxyMain and ProxyImpl > > This is the final patch that splits ThreadProxy into ProxyMain and > ProxyImpl routing all inter-proxy communication using ChannelMain > and ChannelImpl. > > ThreadProxy currently implements the logic for glueing together the > Scheduler, LayerTreeHostImpl and the LayerTreeHost and separating these > components across the main and impl thread boundary. This patch isolates > the logic for this glue code in ThreadProxy exclusive to each thread to > ProxyMain and ProxyImpl. This will allow us to abstract the medium the > 2 sides use to communicate with each other so these components can be > run across a thread/process/network boundary. > > ThreadedChannel implements the in-process threaded case. > > BUG=527200 > CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel > > Committed: https://crrev.com/0a226af5cb4c5ca5b3bac3e3d857601cc356dc33 > Cr-Commit-Position: refs/heads/master@{#364034} TBR=wez@chromium.org,brianderson@chromium.org,danakj@chromium.org,dtrainor@chromium.org,enne@chromium.org,vmpstr@chromium.org,nednguyen@google.com,sullivan@chromium.org,skyostil@google.com,khushalsagar@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=527200

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2328 lines, -2670 lines) Patch
M cc/BUILD.gn View 5 chunks +2 lines, -10 lines 0 comments Download
M cc/cc.gyp View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/cc_tests.gyp View 3 chunks +0 lines, -8 lines 0 comments Download
M cc/debug/benchmark_instrumentation.h View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/scheduler/scheduler_state_machine_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/test/layer_tree_test.h View 4 chunks +125 lines, -11 lines 0 comments Download
M cc/test/layer_tree_test.cc View 6 chunks +290 lines, -64 lines 0 comments Download
D cc/test/proxy_impl_for_test.h View 1 chunk +0 lines, -73 lines 0 comments Download
D cc/test/proxy_impl_for_test.cc View 1 chunk +0 lines, -163 lines 0 comments Download
D cc/test/proxy_main_for_test.h View 1 chunk +0 lines, -56 lines 0 comments Download
D cc/test/proxy_main_for_test.cc View 1 chunk +0 lines, -104 lines 0 comments Download
D cc/test/test_hooks.h View 1 chunk +0 lines, -139 lines 0 comments Download
D cc/test/test_hooks.cc View 1 chunk +0 lines, -28 lines 0 comments Download
D cc/test/threaded_channel_for_test.h View 1 chunk +0 lines, -38 lines 0 comments Download
D cc/test/threaded_channel_for_test.cc View 1 chunk +0 lines, -36 lines 0 comments Download
M cc/trees/channel_main.h View 4 chunks +6 lines, -12 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 2 chunks +3 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_proxy.cc View 9 chunks +160 lines, -147 lines 0 comments Download
M cc/trees/proxy_impl.h View 1 chunk +39 lines, -151 lines 0 comments Download
D cc/trees/proxy_impl.cc View 1 chunk +0 lines, -684 lines 0 comments Download
M cc/trees/proxy_main.h View 1 chunk +33 lines, -132 lines 0 comments Download
D cc/trees/proxy_main.cc View 1 chunk +0 lines, -465 lines 0 comments Download
A cc/trees/thread_proxy.h View 1 chunk +333 lines, -0 lines 0 comments Download
A cc/trees/thread_proxy.cc View 1 chunk +1190 lines, -0 lines 0 comments Download
M cc/trees/threaded_channel.h View 7 chunks +22 lines, -90 lines 0 comments Download
M cc/trees/threaded_channel.cc View 2 chunks +106 lines, -241 lines 0 comments Download
M cc/trees/threaded_channel_unittest.cc View 9 chunks +14 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
engedy
Created Revert of cc: Split ThreadProxy into ProxyMain and ProxyImpl
5 years ago (2015-12-09 13:33:04 UTC) #1
engedy
Please ignore this, revert NOT landed, it was just coincidence. Those tests starting flaking long ...
5 years ago (2015-12-09 13:36:32 UTC) #3
engedy
5 years ago (2015-12-09 15:26:13 UTC) #5
Message was sent while issue was closed.
On 2015/12/09 13:36:32, engedy wrote:
> Please ignore this, revert NOT landed, it was just coincidence. Those tests
> starting flaking long before this CL was landed.

Instead, I have filed crbug.com/568100 to track the issue.

Powered by Google App Engine
This is Rietveld 408576698