[webkit-reviews] review requested: [Bug 31253] Unbounded memory growth when adding and removing images : [Attachment 60885] Simple patch, possible solution to improve memory consumption

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 8 08:16:49 PDT 2010


Mihnea Ovidenie <mihnea at adobe.com> has asked  for review:
Bug 31253: Unbounded memory growth when adding and removing images
https://bugs.webkit.org/show_bug.cgi?id=31253

Attachment 60885: Simple patch, possible solution to improve memory consumption
https://bugs.webkit.org/attachment.cgi?id=60885&action=review

------- Additional Comments from Mihnea Ovidenie <mihnea at adobe.com>
Here is a simple patch that implements the idea of DocLoader keeping a weak
reference to its CachedResources. When this resources are removed from cache,
they are also deleted since DocLoader will not keep a reference to them. Taking
into account the complexity of such issue, it would be great if somebody with
expertise could take a look and share an opinion about this patch.

Regards,
Mihnea


More information about the webkit-reviews mailing list