diff options
| author | seunghwan.hong <seunghwan.hong@lge.com> | 2014-10-29 17:43:20 +0900 | 
|---|---|---|
| committer | seunghwan.hong <seunghwan.hong@lge.com> | 2015-01-13 08:22:26 +0900 | 
| commit | 4fe7795347851334ac52b925105f9dc8068f4809 (patch) | |
| tree | 3d58d4d4dc30410cd150d03fd14d8349ba04aa42 /tools/aapt2/java/JavaClassGenerator.cpp | |
| parent | 9a6c45eedd112313e5b24111f23bc309a3dc5df6 (diff) | |
Prevent AudioService dead lock issue.
Dead lock sequence:
 1. called onSetA2dpConnectionState()
  1-1. synchronized(mConnectedDevices)
 2. called onServiceDisconnected()
  2-1. synchronized(mA2DPAvrcpLock)
 3. waiting to lock(mConnectedDevices) in onServiceDisconnected()
 4. waiting to lock(mA2DPAvrcpLock) in onSetA2dpConnectionState()
========================================================================================
- watchdog issue
----- pid 3306 at 2014-10-14 16:15:12 -----
Cmd line: system_server
"main" prio=5 tid=1 MONITOR
  - waiting to lock <0x4343e9b0> (a java.util.HashMap) held by tid=46 (AudioService)
      at android.bluetooth.BluetoothA2dp$2.onServiceDisconnected(BluetoothA2dp.java:529)
"AudioService" prio=5 tid=46 MONITOR
      - waiting to lock <0x42ab7a58> (a java.lang.Object) held by tid=1 (main)
========================================================================================
Signed-off-by: Seunghwan Hong <seunghwan.hong@lge.com>
Change-Id: I99e061c07be01aabcd26786ef2ebb71f46717b93
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions
