[Webkit-unassigned] [Bug 21736] Long-dead decoded image data make up for most of the object cache's memory use over time
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Oct 18 17:30:59 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=21736
mitz at webkit.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #24495| |review?
Flag| |
------- Comment #1 from mitz at webkit.org 2008-10-18 17:30 PDT -------
Created an attachment (id=24495)
--> (https://bugs.webkit.org/attachment.cgi?id=24495&action=view)
Destroy decoded image data that has been dead for one minute
This is the most straightforward patch, I think. The cost of an extra timer in
each CachedImage appears to be negligible, and managing a queue with a single
timer in the Cache turned out to be more complicated and had no significant
benefit. Likewise, adding an intermediate subclass
("CachedObjectWithDecodedDataThatDestroysItselfOnATimer") between CachedObject
and CachedImage seemed unnecessary for as long as images are the only objects
with decoded data.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list