summaryrefslogtreecommitdiff
path: root/tools/aidl/generate_java.cpp
diff options
context:
space:
mode:
authorVairavan Srinivasan <vairav@codeaurora.org>2011-02-14 20:45:59 -0800
committerVairavan Srinivasan <vairav@codeaurora.org>2011-02-15 21:42:57 -0800
commit68a4e0a38fca00e9615a3c8ccb2d46edc88cf338 (patch)
treed5ea21e9142b957949f6ef1710572116fab7a002 /tools/aidl/generate_java.cpp
parent7d234fabe61cd5f034fe4ff4484209fbf5130c4d (diff)
frameworks/base: acquire lock on am only when needed
appendDropBoxProcessHeaders acquires a lock on am while accessing ProcessRecord (even if it is null). Watchdog thread ends up invoking this function (with a null ProcessRecord) to add the stack file to dropbox. This function would block if and when the watchdog thread is invoked due to unavailability of lock on am resulting in a deadlock. This would prevent watchdog from killing system_server. Change-Id: Ieb34b767779cb587e0c5f536b9b7ba44fb9a28d9
Diffstat (limited to 'tools/aidl/generate_java.cpp')
0 files changed, 0 insertions, 0 deletions