Loading core/jni/com_android_internal_os_Zygote.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -2296,8 +2296,10 @@ pid_t zygote::ForkCommon(JNIEnv* env, bool is_system_server, // region shared with the child process we reduce the number of pages that // transition to the private-dirty state when malloc adjusts the meta-data // on each of the pages it is managing after the fork. if (mallopt(M_PURGE_ALL, 0) != 1) { mallopt(M_PURGE, 0); } } pid_t pid = fork(); Loading Loading
core/jni/com_android_internal_os_Zygote.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -2296,8 +2296,10 @@ pid_t zygote::ForkCommon(JNIEnv* env, bool is_system_server, // region shared with the child process we reduce the number of pages that // transition to the private-dirty state when malloc adjusts the meta-data // on each of the pages it is managing after the fork. if (mallopt(M_PURGE_ALL, 0) != 1) { mallopt(M_PURGE, 0); } } pid_t pid = fork(); Loading