应用是怎么启用Binder机制的
2019-06-05 本文已影响0人
ab64fd4eaee3
image.png
image.png
ZygoteInit.java . runSelectLoop()->
ZygoteConnection.runOnce()->
pid = Zygote.forkAndSpecialize(孵化进程 pid = 0 子进程)
ZygoteConnection.handleChildProc()->
RuntimeInit.zygoteInit()->
commonInit();
nativeZygoteInit();->binder 初始化
applicationInit(targetSdkVersion, argv);