New issue
Advanced search Search tips

Issue 832119 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocking:
issue 465180



Sign in to add a comment

Spare RenderProcessHost should be resilient to parallel navigations in 2 or more profiles

Project Member Reported by lukasza@chromium.org, Apr 12 2018

Issue description

After https://crrev.com/c/963405 parallel navigations in 2 or more profiles can cause the spare RenderProcessHost to be repeatedly and uselessly created for profile A, needed for profile B so discarded and recreated for profile B, needed for profile A so discarded and recreated for profile A, and so forth.

Ideas:
- Prioritize spare creation depending on the scenario it is needed for (e.g. based on frame depth)
- Cool-down timer (seems like an undesirable source of potential test flakiness)
- Don't immediately tear down spare-for-profile-A if
    - Less than X recently taken spares belonged to profile A (i.e. we have recently switched the spare to profile A)
    - The tear down and switch to profile B wasn't consistently needed in the last Y cases (e.g. we won't switch to B if the spare is needed for B,C,B,C,...).
 
Blocking: 465180

Sign in to add a comment