Bug 44878 - Improve resource size tracking
Summary: Improve resource size tracking
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-30 11:36 PDT by Dmitry Gorbik
Modified: 2010-08-30 17:12 PDT (History)
3 users (show)

See Also:


Attachments
Proposed patch v1.0 (10.48 KB, patch)
2010-08-30 16:24 PDT, Dmitry Gorbik
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Gorbik 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.
Comment 1 Dmitry Gorbik 2010-08-30 16:24:27 PDT
Created attachment 65976 [details]
Proposed patch v1.0