summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTang Ding <tang.ding@tcl.com>2021-04-08 05:47:56 +0000
committerMakoto Onuki <omakoto@google.com>2021-04-19 15:46:38 -0700
commit8bbe093657a6c329aceda5d4e3c79e2fe0f8dc20 (patch)
tree8eac2bd80b75d0a5a0618e34a47d4c021741f3c9 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf34b066b9eeae388c0af4462df8c96b3b92d14bf (diff)
Avoiding system server dump stuck by pipe buffer full.
Problem: RenderThread blocked during dumping gfx info. Root Cause: Though dumpGfxInfo() uses an async binder invocation ,When the caller is system server, this invocation is not IPC that means it is not asynchronous, it will keep waiting if dumpGfxinfo output size larger than 16*4KB as reader thread start by transferpipe.go cannot be executed because write pipe waiting. Ensure this invocation is asynchronous to prevent writer waiting if buffer cannot be consumed. Solution: Send write action to handler thread so reader thread can be started to consume the data in buffer. Fix: 185806813 Test: dumpsys gfxinfo Change-Id: I37b1c1881a857970019eddfb762ae620e0353744
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions