summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorHui Yu <huiyu@google.com>2019-05-17 13:39:52 -0700
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-06-12 09:55:16 +0000
commit1c2fcd62ec9162ecc12700493ee1e8182aa71896 (patch)
tree41b7ba1a199be7935c655b61740b5046ae3680ea /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent8a4b671f014c0ecf73742296d39ec877aeec651a (diff)
Clean up ProcessRecord when reuse a pid.
When Zygote starts a process with a pid, system_server may have this pid associate with a old process which is killed by the OS but system_server has not finished cleanup. In this case, clean up the old ProcessRecord so the new process can use the pid. This problem is exposed because the asynchronous process start change. attachApplicationLocked() may happen before handleProcessStartedLocked() and the mPidsSelfLocked may still have the old ProcessRecord associate with the new process's pid. Bug: 131105245 Test: POC test steps in b/131105245. Change-Id: I775acda5147291d0cf9836b6ffb3f52d1bf9bffe Merged-In: I775acda5147291d0cf9836b6ffb3f52d1bf9bffe Merged-In: I5d421f6c68f6b3437d51c94f4aef77e08a7bf002 (cherry picked from commit 3d47e0ceca4e6528a1bec2a7e94a833b8951d93a)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions