androiddalvik

What's the relationship between Dalvik and Zygote process?


I just want to know :


Solution

  • Dalvik VM was authored by Dan Bornstein
    Every android application runs in a separate process, has its own Dalvik VM.

    Zygote is a daemon with the only mission to launch applications. This means that Zygote is the parent of all App process. When app_process launches Zygote, it creates the first Dalvik VM and calls Zygote’s main () method. Once Zygote starts, it preloads all necessary Java classes and resources, starts System Server and opens a socket /dev/socket/zygote to listen for requests for starting applications.