gpt4 book ai didi

android - Dalvik和Zygote进程有什么关系?

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:56:44 26 4
gpt4 key购买 nike

我只想知道:

  • 谁创建了 dalvik_Vm

  • zygote进程是运行在vm中还是相反?

最佳答案

Dalvik VMDan Bornstein
创作每个 Android 应用程序都在单独的进程中运行,有自己的 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.

关于android - Dalvik和Zygote进程有什么关系?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40122781/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com