summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2016-03-07 16:18:25 -0800
committerDianne Hackborn <hackbod@google.com>2016-03-08 17:58:36 -0800
commit6e3eb8e5fd07c7396104f398966ad2be71caf8ee (patch)
tree3ba79c58b983f302d337b280f7751deb9d31c93e /tools/aapt2/java/JavaClassGenerator.cpp
parent924dd5552803866e706b637cc2168a3787bc8ee4 (diff)
Fix issue #27408705: Runtime restart: WATCHDOG KILLING SYSTEM PROCESS...
...Blocked in monitor com.android.s There was a change awhile ago to make the IInstrumentationWatcher callbacks synchronous, to avoid issues with them spamming non-responsive watches and filling the binder transfer buffer. However, you can't just do this, because the activity manager calls these with its lock held. To allow them to stay synchronous with the activity manager getting blocked on the watcher, introduce a new thread for dispatching calls to the watcher. This thread is created as needed, and dispatches a queue of callback commands to make to instrumentation watchers. The callback is still synchronous, so it won't dispatch a new one until the previous completes. Change-Id: I8384bd475a1a004c567a4ae20ea64385244f45c5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions