Lines Matching refs:process
6 …on on the main process, and then forks a copy of the process to perform the mark-and-sweep, minimi…
17 …ble is loaded by zygote and can be triggered with `dumpsys -t 600 meminfo --unreachable [process]`.
19 To enable malloc\_debug backtraces on allocations for a single app process on a userdebug device, u…
23 adb shell setprop wrap.[process] "\$\@"
27 …d restart the app, trigger the leak, and then run `dumpsys -t 600 meminfo --unreachable [process]`.
33 adb shell setprop wrap.[process] "''"
56 … is divided into three processes - the original process, the collection process, and the sweeper p…
58 1. *Original process*: Leak detection is requested by calling `GetUnreachableMemory()`
60 …process is spawned. The collection process, created using clone, is similar to a normal `fork()` …
61 4. *Collection process*: All threads in the original process are paused with `ptrace()`.
63 …6. *Original process*: Allocations are re-enabled using `malloc_enable()`, but all threads are sti…
64 …process*: The sweeper process is spawned using a normal `fork()`. The sweeper process has a copy …
65 8. Collection process releases all threads from `ptrace` and exits
66 …9. *Original process*: All threads continue, the thread that called `GetUnreachableMemory()` block…
67 …10. *Sweeper process*: A list of all active allocations is produced by examining the memory mappin…
70 13. Unmarked allocations are sent over the pipe back to the original process.
78 - `PtracerThread.cpp`: Used to clone the collection process with shared address space.
79 - `ThreadCapture.cpp`: Pauses threads in the main process and collects register contents.
82 - `LeakPipe.cpp`: transfers data describing leaks from the sweeper process to the original process.