Loading core/jni/com_android_internal_os_Zygote.cpp +11 −9 Original line number Diff line number Diff line Loading @@ -273,8 +273,9 @@ static void EnableDebugger() { } } // We don't want core dumps, though, so set the soft limit on core dump size // to 0 without changing the hard limit. // Set the core dump size to zero unless wanted (see also coredump_setup in build/envsetup.sh). if (!GetBoolProperty("persist.zygote.core_dump", false)) { // Set the soft limit on core dump size to 0 without changing the hard limit. rlimit rl; if (getrlimit(RLIMIT_CORE, &rl) == -1) { ALOGE("getrlimit(RLIMIT_CORE) failed"); Loading @@ -285,6 +286,7 @@ static void EnableDebugger() { } } } } // The debug malloc library needs to know whether it's the zygote or a child. extern "C" int gMallocLeakZygoteChild; Loading Loading
core/jni/com_android_internal_os_Zygote.cpp +11 −9 Original line number Diff line number Diff line Loading @@ -273,8 +273,9 @@ static void EnableDebugger() { } } // We don't want core dumps, though, so set the soft limit on core dump size // to 0 without changing the hard limit. // Set the core dump size to zero unless wanted (see also coredump_setup in build/envsetup.sh). if (!GetBoolProperty("persist.zygote.core_dump", false)) { // Set the soft limit on core dump size to 0 without changing the hard limit. rlimit rl; if (getrlimit(RLIMIT_CORE, &rl) == -1) { ALOGE("getrlimit(RLIMIT_CORE) failed"); Loading @@ -285,6 +286,7 @@ static void EnableDebugger() { } } } } // The debug malloc library needs to know whether it's the zygote or a child. extern "C" int gMallocLeakZygoteChild; Loading