Confusion regarding process in android?

25 views
Skip to first unread message

Sagar Gandhi

unread,
Apr 19, 2014, 11:25:13 AM4/19/14
to android-...@googlegroups.com
i know there is UID's assigned to each application and there may be multiple process sharing same UID. As Dalvik instance is assigned to each process so does that mean every process in each UID has different Dalvik instance or each UID has its own Dalvik instance ? Does every package has its own Dalvik instance and has assigned a different PID ?

shridutt kothari

unread,
Apr 22, 2014, 4:29:18 AM4/22/14
to android-...@googlegroups.com
Hi Sagar, 

Every running application gets a unique UID, and for each application Zygote (the mother process) forks a new process and a new Dalvik instance, though all Dalvik instance share some common libraries and resources, so that applications can be launched as quickly as possible, It also reduces memory fingerprints.


Does every package has its own Dalvik instance and has assigned a different PID ? No not every package but when any package runs it gets a different PID.

Thanks,
Shridutt Kothari,
Impetus Infotech India Ltd.
Reply all
Reply to author
Forward
0 new messages