summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorriddle_hsu <riddle_hsu@htc.com>2014-07-31 00:18:00 +0800
committerriddle_hsu <riddle_hsu@htc.com>2014-07-31 00:18:00 +0800
commit1d6c40a6698d271517e5b333f2d0dd4459913884 (patch)
treef62b383e0e252928fdfb4599cda3efd09eb93c5e /rs/java/android/renderscript/RenderScript.java
parent8224edb94f6421a2d910362c56940dcf991847e6 (diff)
Prevent system server dump stuck by pipe buffer full.
Symptom: Watchdog timeout during dumping db info. Root Cause: When the caller is system server, this invocation is not IPC that means it is not asynchronous, it will need writer has written all data to finish. But pipe has 16*4KB buffer limit, if no reader consumes the data, it will keep waiting. Solution: Check if caller is system server, then use another thread to write so reader could consume the data in buffer. Change-Id: I4bf80fd645cc9396f51ffc0eb27fb895756c1dcf
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions