When I use adb commands to collect memory, cpu, network data from the device i get frequent Explicit GC operations.
I/art(29126): Explicit concurrent mark sweep GC freed 3(96B) AllocSpace objects, 0(0B) LOS objects, 31% free, 17MB/25MB, paused 559us total 19.188ms
How can i avoid it? It interrupts the data collection and app's operations. why does it called on behalf of the app (in the logs). I am calling the commands through adb?
它不是代表应用程序调用的-如果是这样,它的日志标签将与应用程序的相同,而不是aart
或dalvikvm
:)也许由于您明确地强制执行GC周期,因此该应用程序只是释放了部分资源。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.