Reusing subframe processes

280 views
Skip to first unread message

Jesse McKenna

unread,
Sep 15, 2020, 6:44:23 PM9/15/20
to site-isol...@chromium.org
Hi Site Isolation team,

I'm looking into reusing cross-site subframe processes during same-site navigations. This idea was first proposed in 2018 (bug: Destroying/recreating processes for i-frames can significantly slow navigation within a site).

If a site has multiple pages containing the same cross-site subframe (e.g., pages 1 and 2 on this test site), the process for the cross-site subframe they share would be reused when navigating between the pages. Currently, they are typically destroyed then immediately recreated, which causes a lot of process churn on sites with the same ads on every page.

I wanted to give a heads-up to the group that I'm working on this, since it's been so long since the initial discussion. If this now seems like a bad idea for any reason, please let me know.

Also, if I have technical questions about the code going forward, is this mailing list the right place?

Thanks!
Jesse

Jesse McKenna | she/her | jessemckenna@google.com


Charlie Reis

unread,
Sep 15, 2020, 7:00:26 PM9/15/20
to Jesse McKenna, Chromium Site Isolation, Alex Moshchuk
[+alexmos]

Thanks for looking into this further!  I don't see big concerns with reusing the subframe process for a navigation to a same-site page in the same tab.

Sounds like there's a lot of discussion about the process reuse policy on the bug already, so Alex can probably help with tips if you need it.  And yes, this list is fine for questions about it.

Thanks!
Charlie
Reply all
Reply to author
Forward
0 new messages