Process Management Overview
Process Management Overview
At base level android PCB is the same and PCB is managed by standard process
management
Android at its core has a process they call the “Zygote”, which starts up at init. It gets it's
name from dictionary definition: "It is the initial cell formed when a new organism is
produced". This process is a “Warmed-up” process, which means it’s a process that’s
been initialized and has all the core libraries linked in. When you start an application,
the Zygote is forked, so now there are 2 VMs. The real speedup is achieved by NOT
copying the shared libraries. This memory will only be copied if the new process tries to
modify it. This means that all of the core libraries can exist in a single place because
they are read only.
One interesting thing you’ll notice in antivirus apps like Avast! For Android is that the
antivirus app uses a notification icon. If you try to disable the notification icon, Avast!
Will recommend against it. By having a visible notification icon, Avast! Makes itself
higher-priority app, preventing Android from considering it a background app and killing
it.