Skip to content
Snippets Groups Projects
Commit 1b4bcf1e authored by Weilun Du's avatar Weilun Du Committed by Lingfeng Yang
Browse files

Exit HostConnection for thread which only uses gralloc


For certain guest process which maintains a thread pool and only calls gralloc
library, we should exit the host connection to avoid spawning too many
render threads on host emulator.

Test: run empty test activity for 3000 times and the number of render
thread on host should stay roughly the same.
BUG: 80050618

Change-Id: Idb282aa67138572519edee761f8bc6cb50c1653d
Signed-off-by: default avatarWeilun Du <wdu@google.com>
(cherry picked from commit 904b90eb097609762c7c35c321f82b2cc5245190)
parent 5916d54e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment