Description[BlobAsync] Faster shortcuttin, make renderer controller leaky & alive.
This should fix strange memory access crashes observed in the
following bugs by doing the following things:
1. We make the controller a leaky lazy instance so it isn't destructed.
2. We make one less message loop hop before we call AddProcessRef, so
hopefully our process won't be shutting down in the middle of a
transfer.
3. We send the 'descriptions' as early as possible if we're below the
IPC threshold, which should help some of the speed regressions.
4. We prevent sudden shutdowns (like tab bar closing) by using
blink::Platform::current()->suddenTerminationChanged(false);
BUG=600462, 600435, 599490, 599416, 375297
Committed: https://crrev.com/90774e39bb24b1c531e9b3aba16c77ab96675fb3
Cr-Commit-Position: refs/heads/master@{#385472}
Patch Set 1 #Patch Set 2 : format #Patch Set 3 : git cl owners #
Total comments: 5
Patch Set 4 : rebase #Patch Set 5 : windows build #Patch Set 6 : Comments #
Total comments: 10
Patch Set 7 : comments #Patch Set 8 : Always sending start on main thread #Patch Set 9 : comments #
Total comments: 1
Patch Set 10 : Disabling fast shutdown when transfering blobs #
Total comments: 4
Patch Set 11 : Added sudden shutdown protection in renderer #
Total comments: 2
Patch Set 12 : comment #
Total comments: 1
Messages
Total messages: 32 (11 generated)
|