[Webkit-unassigned] [Bug 111094] [Qt]clearMemoryCaches of QWebSettings should call GC to release references of CachedResource

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 5 06:36:58 PST 2013


--- Comment #13 from Allan Sandfeld Jensen <allan.jensen at digia.com>  2013-03-05 06:39:22 PST ---
(In reply to comment #12)
> (In reply to comment #3)
> > (From update of attachment 190772 [details] [details])
> > View in context: https://bugs.webkit.org/attachment.cgi?id=190772&action=review
> > 
> > It sounds to me that this is a reasonable thing to do. Allan, what do you think?
> > 
> Yeah, looks good. I would use gcController().discardAllCompiledCode(). It is more powerfull if you really want to free all cached code (also frees cached JIT code blocks).

Actually I would suggest we took a look at and cleaned the same caches as MemoryPressureMac::releaseMemory() does. I am surprised we use such an agressive call to FontCache for instance.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list