Make WebLockRegistryProxy::processDidExit() return early if process never registered any locks. This avoids calling LocalWebLockRegistry::clientsAreGoingAway() (which can be expensive) in the case we know for sure no locks were registered by this process.
Created attachment 445882 [details] Patch
Wouldn't m_perOriginRegistries be empty? I'm not convinced this does anything.
(In reply to Alex Christensen from comment #2) > Wouldn't m_perOriginRegistries be empty? I'm not convinced this does > anything. Huh? The LocalWebLockRegistry is on the WebsiteDataStore and is thus potentially shared by many WebProcesses. Each WebProcessProxy has its own WebLockRegistryProxy though so I believe this is useful.
Ping review?
Committed r286604 (244929@trunk): <https://commits.webkit.org/244929@trunk> All reviewed patches have been landed. Closing bug and clearing flags on attachment 445882 [details].
<rdar://problem/86169856>