| Summary: | [Mac] We are spending too much time serializing ProtectionSpace objects | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||||||||
| Component: | Page Loading | Assignee: | Chris Dumez <cdumez> | ||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||
| Severity: | Enhancement | CC: | andersca, ap, barraclough, beidson, commit-queue, mitz | ||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||
| Version: | 528+ (Nightly build) | ||||||||||||||
| Hardware: | Mac | ||||||||||||||
| OS: | OS X 10.9 | ||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Chris Dumez
2014-10-02 16:22:04 PDT
I was thinking "setShouldHandleHTTPSServerTrustEvaluationAtNetworkLevel(bool)" for the (private) setting. Any thoughts? Created attachment 239158 [details]
WIP Patch
Created attachment 239159 [details]
WIP Patch
Created attachment 239210 [details]
Patch
Just a couple of comments: 1. If a Networking process crashes and the WebContext launches a new one to replace it, it will lose this state. To fix this, the WebContext needs to keep the flag and include it in the initialization parameters to the Networking process. 2. This should also be exposed as WKProcessPool SPI so that it can be used by clients of that API. (In reply to comment #6) > Just a couple of comments: > 1. If a Networking process crashes and the WebContext launches a new one to replace it, it will lose this state. To fix this, the WebContext needs to keep the flag and include it in the initialization parameters to the Networking process. > 2. This should also be exposed as WKProcessPool SPI so that it can be used by clients of that API. Thanks for the feedback, this is very helpful. I will address these issues soon. Created attachment 239218 [details]
Patch
(In reply to comment #6) > Just a couple of comments: > 1. If a Networking process crashes and the WebContext launches a new one to replace it, it will lose this state. To fix this, the WebContext needs to keep the flag and include it in the initialization parameters to the Networking process. > 2. This should also be exposed as WKProcessPool SPI so that it can be used by clients of that API. All done in the latest patch iteration, thanks. Ping review? Comment on attachment 239218 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=239218&action=review > Source/WebKit2/ChangeLog:9 > + a lot of cpu time serializing ProtectionSpace objects (in particular CPU > Source/WebKit2/ChangeLog:46 > + You need to update the change log to include the WKProcessPool changes. Created attachment 239356 [details]
Patch
Comment on attachment 239356 [details] Patch Clearing flags on attachment: 239356 Committed r174369: <http://trac.webkit.org/changeset/174369> All reviewed patches have been landed. Closing bug. |