<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>AOSP on 知识铺的博客</title>
    <link>https://index.zshipu.com/geek/tags/AOSP/</link>
    <description>Recent content in AOSP on 知识铺的博客</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Sat, 05 Sep 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://index.zshipu.com/geek/tags/AOSP/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Zygote 通过 Socket 创建 App 的源码路径与架构解释</title>
      <link>https://index.zshipu.com/geek/post/20260905/Zygote-%E9%80%9A%E8%BF%87-Socket-%E5%88%9B%E5%BB%BA-App-%E7%9A%84%E6%BA%90%E7%A0%81%E8%B7%AF%E5%BE%84%E4%B8%8E%E6%9E%B6%E6%9E%84%E8%A7%A3%E9%87%8A/</link>
      <pubDate>Sat, 05 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://index.zshipu.com/geek/post/20260905/Zygote-%E9%80%9A%E8%BF%87-Socket-%E5%88%9B%E5%BB%BA-App-%E7%9A%84%E6%BA%90%E7%A0%81%E8%B7%AF%E5%BE%84%E4%B8%8E%E6%9E%B6%E6%9E%84%E8%A7%A3%E9%87%8A/</guid>
      <description>Zygote 通过 Socket 创建 App 的源码路径与架构解释 Android 启动新 App 进程时，Zygote 并不直接使用 Binder，而是通过本地 Socket 接收命令并 fork 出子进程。这是 AOSP 源码中可以逐行验证的事实。 从 ProcessList.startProcessLocked 开始，系统会调用 ZygoteProcess.start，进而通过 ZygoteState.connect 建立到 Zygote 的 Socket 连接。整个路径不经过 Binder 服务，而是直接使用</description>
    </item>
  </channel>
</rss>
