[webkit-help] Threads in Webkit
Zoltan Horvath
zoltan at webkit.org
Mon Jan 25 00:48:47 PST 2010
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
More information about the webkit-help
mailing list