Bug 225486

Summary: Retry asynchronously in WebProcessPool::getGPUProcessConnection() in case of failure
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=225478
https://bugs.webkit.org/show_bug.cgi?id=224017
Attachments:
Description Flags
Patch
none
Patch none

Description Chris Dumez 2021-05-06 15:02:23 PDT
Retry asynchronously in WebProcessPool::getGPUProcessConnection(), similarly to what we do in WebsiteDataStore::getNetworkProcessConnection(). As a result, we no longer need to ref the WebProcessPool in the lambda and we avoid retrying unnecessarily when the WebProcessPool is getting destroyed.
Comment 1 Chris Dumez 2021-05-06 15:04:18 PDT
Created attachment 427939 [details]
Patch
Comment 2 Chris Dumez 2021-05-06 16:52:05 PDT
Created attachment 427959 [details]
Patch
Comment 3 EWS 2021-05-06 18:49:01 PDT
Committed r277151 (237438@main): <https://commits.webkit.org/237438@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 427959 [details].
Comment 4 Radar WebKit Bug Importer 2021-05-06 18:50:16 PDT
<rdar://problem/77636072>