Yong Li yong.li.webkit at gmail.com
Wed Sep 14 07:13:25 PDT 2011

Hi Geoffrey,

>From what I understand, HTML5 Web Worker doesn't rely on threaded GC
because each worker thread has its own heap. The other place affected
by ENABLE_JSC_MULTIPLE_THREADS is JSLock. However it is also said
platforms other than MacOS doesn't need to implement JSLock. It seems
the only use of ENABLE_JSC_MULTIPLE_THREADS is to use JS API from
another thread. Is this correct?

Yong Li

2011/9/8 Geoffrey Garen <ggaren at apple.com>:
> Hi folks.
> To help move WebKit and JavaScriptCore forward, I'd like to remove old platform cruft that creates particular pain points for development.
> To that end, I'd like to remove ENABLE_SINGLE_THREADED and !ENABLE_JSC_MULTIPLE_THREADS. I believe these code paths are untested by core WebKit developers. Also, in the modern world of multicore CPUs, it seems prudent to allow programmers to assume that all OS's running WebKit at least know what a thread is how to create one.
> Thoughts?
> Thanks,
> Geoff
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

More information about the webkit-dev mailing list