1.
runSelectLoop --> runOnce --> Zygote.forkAndSpecialize --> nativeForkAndSpecialize --> Dalvik_dalvik_system_Zygote_forkAndSpecialize --> forkAndSpecializeCommon --> dvmGcPreZygoteFork --> dvmHeapSourceStartupBeforeFork --> addNewHeap
2.
Fork --> nativeFork --> Dalvik_dalvik_system_Zygote_fork --> dvmGcPreZygoteFork --> dvmHeapSourceStartupBeforeFork --> addNewHeap
3.
JNI_CreateJavaVM --> dvmStartup(dvmPrepForDexOpt) --> dvmGcStartup --> dvmHeapStartup --> dvmHeapSourceStartup --> addInitialHeap
4.分配heap[0]
dvmClassStartup()
static bool initFieldOffsets()
dvmFindRequiredClassesAndMembers()