summaryrefslogtreecommitdiff
path: root/libutils/CallStack_fuzz.cpp
diff options
context:
space:
mode:
authorhyeeun.jun@samsung.com <hyeeun.jun@samsung.com>2020-01-29 17:10:17 +0900
committerHyeeun Jun <hyeeun.jun@samsung.com>2020-02-18 04:33:06 +0000
commit49545ab897f0acc57b58da129280bee92139e752 (patch)
treece8fc05564519ec1c0ad95fcc348d4151ddf79b4 /libutils/CallStack_fuzz.cpp
parente87527faa319398832092697aad2a1428fbf0f49 (diff)
Fix Deadlock Issue On AppFuseBridge
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 Bug : https://issuetracker.google.com/issues/145707568 Signed-off-by: hyeeun.jun@samsung.com <hyeeun.jun@samsung.com> 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.
Diffstat (limited to 'libutils/CallStack_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions