-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There are two locks used by AppFuseBridge. First is it's object lock, and the second is a mutex lock in app fuse library. There are two oppsite routines to get those locks. (Thread A) Got Java lock -> Try to get Native lock (Thread B) Got Native lock -> Try to get Java lock The order must be followed to obtain two locks. If not, the dead lock will be caused. Therefore we change the routine to get the mutex lock first, and the object lock later. Signed-off-by: hyeeun.jun@samsung.com <hyeeun.jun@samsung.com> Bug: https://issuetracker.google.com/issues/145707568 Bug: 157535024 Test: atest --test-mapping apex/blobstore Change-Id: I0ab002da9a0b7ca2f518d50ab477a080cabe3788 Former-commit-id: 612fc47090e4bcff953806c855fe21f5c594aa7e
- Loading branch information
1 parent
d38fd30
commit e3690b6
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters