Bug 144337 - Network Cache: Do not create a SharedBuffer for mapped resources unless explicitly requested
Summary: Network Cache: Do not create a SharedBuffer for mapped resources unless expli...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-28 10:09 PDT by Carlos Garcia Campos
Modified: 2015-04-28 23:16 PDT (History)
2 users (show)

See Also:


Attachments
Patch (4.18 KB, patch)
2015-04-28 10:16 PDT, Carlos Garcia Campos
no flags Details | Formatted Diff | Diff
Try to fix the build (4.34 KB, patch)
2015-04-28 11:10 PDT, Carlos Garcia Campos
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2015-04-28 10:09:55 PDT
We send a buffer or a memory mapped handler to the web process depending on whether the resource body is mapped or not, but we are always creating a shared buffer even for mapped resources.
Comment 1 Carlos Garcia Campos 2015-04-28 10:16:00 PDT
Created attachment 251856 [details]
Patch
Comment 2 Carlos Garcia Campos 2015-04-28 11:10:16 PDT
Created attachment 251865 [details]
Try to fix the build
Comment 3 Carlos Garcia Campos 2015-04-28 23:16:14 PDT
Committed r183531: <http://trac.webkit.org/changeset/183531>