OSDN Git Service

Fix: java process gets included in native section of meminfo dump
authorJing Ji <jji@google.com>
Thu, 15 Aug 2019 01:50:58 +0000 (18:50 -0700)
committerJing Ji <jji@google.com>
Mon, 19 Aug 2019 23:31:43 +0000 (16:31 -0700)
commitbfc71f610ee82768e35d06caef67925af27efe8e
tree7e0fee98e248690f3b75f1837680ec8a9205dcc6
parent4969b938ae683640a3a885780fa97024fa0c0cac
Fix: java process gets included in native section of meminfo dump

The window between collecting java processes and cpu stats is too
big, some java processes could get started during that window and
get included into the native section of the meminfo dump.

Bug: 139449460
Test: Manual
      1) Power cycle the device, and right after powering up:
      2) adb shell dumpsys meminfo
Change-Id: I846b0b9d19303f749752637fbcf767de4222a2fe
services/core/java/com/android/server/am/ActivityManagerService.java