摘要: 上回说到,开始调用 ZygoteInit main 函数,main 函数:registerZygoteServer:注册一个 zygote server socket,所有来自客户端的连接都通过 socket 方式连接;preload:预加载系统的类库和资源,这样其他程序启动将不再加载系统资源,只需加载自己程序的资源,这样就达到系统资源在程序之间共享;startSystemServer: private static boolean startSystemServer() throws MethodAndArgsCaller, RuntimeException { ... 阅读全文
posted @ 2012-05-25 12:37 idiottiger 阅读(4484) 评论(0) 推荐(2) 编辑