DescriptionLet PowerSaveBlocker manager anchor view in Java side
This reduces the number of native-to-Java calls by one
with a view to mitigating the benchmark test regression
introduced with https://crrev.com/2103243002.
PowerSaveBlocker was the only class that created an anchor
view during the test. Though the root cause not being
entirely clear yet, having the view created on Java side
can possibly help decrease the browser thread cpu consumption.
BUG=635515
TBR=tedchoc@chromium.org
Committed: https://crrev.com/bc403d8872340a62c310c9665e3b3972344c8c5b
Cr-Commit-Position: refs/heads/master@{#413900}
Patch Set 1 #
Total comments: 2
Patch Set 2 : JavaObjectWeakGlobalRef #Patch Set 3 : rebased #
Messages
Total messages: 28 (15 generated)
|