On Friday 22 January 2010, at 07:51, hap 497 wrote:
> Hi,
> 
> I run GtkLauncher in gdb. After I load a page, I do a thread dump in gdb.
> I notice these 2 threads: 1 is to sync Icon database? 1 is for malloc?
> 
> Why there is a long-running thread needs to sync icon database? Can
> that be disabled?
> 
> Thank you.

Hi,

these are good separable parts which can easily run on custom threads. 
When TCmalloc is enabled, scavenger thread preiodically relases memory back to 
the system. You can disable scavenger thread in 
JavaScriptCore/wtf/FastMalloc.cpp:103
USE_BACKGROUND_THREAD_TO_SCAVENGE_MEMORY 0

You can disable ICONDATABASE in JavaScriptCore/wtf/Platform.h as well.

Zoltan


_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Reply via email to