On Sep 24, 6:51 am, Dan Bornstein <
danf...@android.com> wrote:
> On Wed, Sep 23, 2009 at 2:25 PM, Dianne Hackborn <
hack...@android.com> wrote:
> In particular, preloaded classes cannot (directly or indirectly) cause
> threads to be started, even transiently. The zygote process is limited
> to being single-threaded. I don't think anything verifies
I am confusing because of single-threaded expression a bit.
As we all know, Zygote is just process that pre-forked for speed-up.
Dan, Did you explain using single-thread word about Zygote
because Zygote have 2827 task in "/process/2827/task/*" folder as
single-threaded.?
For example ( 2827 is Zygote Process),
target#> ls /proc/2827/task/
2827
target#> cat /proc/2827/status | grep Threads
Threads: 1
> single-threadedness at runtime, but Strange Things may happen if the zygote spawns a thread.
Yes, I guess so.
Preforked Zygote make application process
when New tasks like Home,Contacts created by User.
So, I think that the zygote have to fork a new process without a new
thread.
In a summary,
When we run browseron android platform ,
broswer applicaiton process is made by Zygote Process.
And the, browser process consists of below threads.
Thread-No Thread-Name
-----------------------------------------
861 app_process (com.android.browser )
862 HeapWorker
863 Signal Catcher
864 JDWP (Java Debug Wire Protocol)
865 Binder Thread #
866 Binder Thread #
867 Binder Thread #
870 CookieSyncManager
872 AsyncTask #1 (computation that runs on a background thread)
873 WebViewCoreThread
876 WebViewCoreThread
877 WebViewCoreThread
879 http0
880 http1
881 http2
882 http3
> -dan