Bug 13187 - Cap live resource decoded data in WebCore memory cache
Summary: Cap live resource decoded data in WebCore memory cache
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Dave Hyatt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-24 18:10 PDT by Dave Hyatt
Modified: 2007-03-24 23:10 PDT (History)
0 users

See Also:


Attachments
Patch that implements the live resource cap (24.81 KB, patch)
2007-03-24 18:10 PDT, Dave Hyatt
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Hyatt 2007-03-24 18:10:15 PDT
This patch caps the amount of live decoded data that can stick around.  It also improves flushing to be less biased against decoded data (so that a better balance can be struck between encoded/decoded data).
It also adds more statistics information to be able to see live and decoded sizes.
Comment 1 Dave Hyatt 2007-03-24 18:10:55 PDT
Created attachment 13805 [details]
Patch that implements the live resource cap
Comment 2 Darin Adler 2007-03-24 20:15:32 PDT
Comment on attachment 13805 [details]
Patch that implements the live resource cap

I think the name decodedSizeWillChange would be clearer than decodedSizeChanging.

r=me
Comment 3 Dave Hyatt 2007-03-24 23:10:32 PDT
Landed in r20478.