[webkit-dev] Purging as much memory as possible

James Robinson jamesr at google.com
Fri Oct 2 14:42:51 PDT 2009


On Fri, Oct 2, 2009 at 12:10 PM, Peter Kasting <pkasting at google.com> wrote:

> On Fri, Oct 2, 2009 at 11:13 AM, Geoffrey Garen <ggaren at apple.com> wrote:
>>
>> Live items cannot be removed from the cache.
>
>
> Yeah, I think that is what I'm seeing.
>
> Assume the page is not being painted (e.g. the window is minimized).  Is
> there a way to turn the "live" items into dead ones so they can be flushed?
>  Obviously the instant we repaint we will have to obtain these again.
>
> Even if this is possible, it might be _too_ aggressive, but first I just
> wonder if it can be done at all.
>

It appears that FontCache::invalidate() does this based on the
implementation - is that correct?  I'm not seeing any callers (but that
might just be Visual Studio being stupid).

- James


> PK
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20091002/4dc7b396/attachment.html>


More information about the webkit-dev mailing list