Bug 44878

Summary: Improve resource size tracking
Product: WebKit Reporter: Dmitry Gorbik <socket.h>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ddkilzer, joepeck, psolanki
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Proposed patch v1.0 none

Dmitry Gorbik
Reported 2010-08-30 11:36:25 PDT
The idea of Cache.cpp was to track resources in memory. But now we are able to place them in a purgeable memory and also we would like to mmap them on the disk. So we need to track sizes for all those cases separately to clean up the code.
Attachments
Proposed patch v1.0 (10.48 KB, patch)
2010-08-30 16:24 PDT, Dmitry Gorbik
no flags
Dmitry Gorbik
Comment 1 2010-08-30 16:24:27 PDT
Created attachment 65976 [details] Proposed patch v1.0
Note You need to log in before you can comment on or make changes to this bug.