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

Issue 2624513004: Prioritize ARC instance only when it is needed (Closed)

Created:
3 years, 11 months ago by Yusuke Sato
Modified:
3 years, 11 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, yusukes+watch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Prioritize ARC instance only when it is needed Previously, the instance was prioritized when the OS fully started. However, it turned out that the prioritization caused Chrome UI jank on some boards. This CL changes the way of prioritization more dynamic to prevent such a jank. BUG=chrome-os-partner:60946 TEST=try Review-Url: https://codereview.chromium.org/2624513004 Cr-Commit-Position: refs/heads/master@{#442768} Committed: https://chromium.googlesource.com/chromium/src/+/9ef6c424a7a2e2fe5f8c24a4e47602a7942877d6

Patch Set 1 #

Patch Set 2 : review #

Total comments: 9

Patch Set 3 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -122 lines) Patch
M chrome/browser/chromeos/BUILD.gn View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_service_launcher.cc View 2 chunks +1 line, -1 line 0 comments Download
A + chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h View 4 chunks +7 lines, -3 lines 0 comments Download
A + chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc View 2 chunks +7 lines, -13 lines 0 comments Download
A chrome/browser/chromeos/arc/boot_phase_monitor/arc_instance_throttle.h View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/arc/boot_phase_monitor/arc_instance_throttle.cc View 1 2 1 chunk +67 lines, -0 lines 0 comments Download
M components/arc/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
D components/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h View 1 chunk +0 lines, -45 lines 0 comments Download
D components/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc View 1 chunk +0 lines, -58 lines 0 comments Download

Messages

Total messages: 20 (14 generated)
Yusuke Sato
PTAL https://codereview.chromium.org/2624513004/diff/20001/chrome/browser/chromeos/arc/boot_phase_monitor/arc_instance_throttle.cc File chrome/browser/chromeos/arc/boot_phase_monitor/arc_instance_throttle.cc (right): https://codereview.chromium.org/2624513004/diff/20001/chrome/browser/chromeos/arc/boot_phase_monitor/arc_instance_throttle.cc#newcode38 chrome/browser/chromeos/arc/boot_phase_monitor/arc_instance_throttle.cc:38: // TODO(yusukes): Call session_manager_client->UnprioritizeArcInstance() It's under review at ...
3 years, 11 months ago (2017-01-10 22:19:27 UTC) #9
Luis Héctor Chávez
lgtm with a few nits. https://codereview.chromium.org/2624513004/diff/20001/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h File chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h (right): https://codereview.chromium.org/2624513004/diff/20001/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h#newcode40 chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h:40: std::unique_ptr<ArcInstanceThrottle> throttle_; nit: s/throttle_/throttler_/ ...
3 years, 11 months ago (2017-01-11 00:07:28 UTC) #12
Luis Héctor Chávez
https://codereview.chromium.org/2624513004/diff/20001/chrome/browser/chromeos/arc/boot_phase_monitor/arc_instance_throttle.h File chrome/browser/chromeos/arc/boot_phase_monitor/arc_instance_throttle.h (right): https://codereview.chromium.org/2624513004/diff/20001/chrome/browser/chromeos/arc/boot_phase_monitor/arc_instance_throttle.h#newcode15 chrome/browser/chromeos/arc/boot_phase_monitor/arc_instance_throttle.h:15: class ArcInstanceThrottle : public ash::WmActivationObserver { On 2017/01/11 00:07:28, ...
3 years, 11 months ago (2017-01-11 00:10:19 UTC) #13
Yusuke Sato
https://codereview.chromium.org/2624513004/diff/20001/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h File chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h (right): https://codereview.chromium.org/2624513004/diff/20001/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h#newcode40 chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h:40: std::unique_ptr<ArcInstanceThrottle> throttle_; On 2017/01/11 00:07:28, Luis Héctor Chávez wrote: ...
3 years, 11 months ago (2017-01-11 00:31:55 UTC) #14
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/2624513004/40001
3 years, 11 months ago (2017-01-11 00:33:29 UTC) #17
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 01:58:14 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/9ef6c424a7a2e2fe5f8c24a4e476...

Powered by Google App Engine
This is Rietveld 408576698