diff options
author | Dianne Hackborn <hackbod@google.com> | 2014-11-13 17:07:40 -0800 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2014-11-13 17:09:59 -0800 |
commit | a4cff88d80bf1acbdbd063af88ecad83a8b9b7b4 (patch) | |
tree | c7bd2444a30c0843c2a1a83845f252ee02122ed5 /libs/binder/Static.cpp | |
parent | ca69e8f2d0a1fc963bd170f9b2bf164028761323 (diff) | |
download | frameworks_native-a4cff88d80bf1acbdbd063af88ecad83a8b9b7b4.zip frameworks_native-a4cff88d80bf1acbdbd063af88ecad83a8b9b7b4.tar.gz frameworks_native-a4cff88d80bf1acbdbd063af88ecad83a8b9b7b4.tar.bz2 |
Fix issue #18356768: some app process may hang at Runtime#exit...
...in Parcel destructor
Don't use a Mutux object, just use simple posix mutex primitives,
to avoid static init/destroy order problems.
Change-Id: Ic012d94297564c0a55d58869f8276d7d10545fbc
Diffstat (limited to 'libs/binder/Static.cpp')
-rw-r--r-- | libs/binder/Static.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libs/binder/Static.cpp b/libs/binder/Static.cpp index b870c34..cd9509f 100644 --- a/libs/binder/Static.cpp +++ b/libs/binder/Static.cpp @@ -90,12 +90,6 @@ public: static LibBinderIPCtStatics gIPCStatics; -// ------------ Parcel.cpp - -Mutex gParcelGlobalAllocSizeLock; -size_t gParcelGlobalAllocSize = 0; -size_t gParcelGlobalAllocCount = 0; - // ------------ IServiceManager.cpp Mutex gDefaultServiceManagerLock; |