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 /include/private | |
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 'include/private')
-rw-r--r-- | include/private/binder/Static.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/private/binder/Static.h b/include/private/binder/Static.h index eeb37d7..d104646 100644 --- a/include/private/binder/Static.h +++ b/include/private/binder/Static.h @@ -34,11 +34,6 @@ extern Vector<int32_t> gTextBuffers; extern Mutex gProcessMutex; extern sp<ProcessState> gProcess; -// For Parcel.cpp -extern Mutex gParcelGlobalAllocSizeLock; -extern size_t gParcelGlobalAllocSize; -extern size_t gParcelGlobalAllocCount; - // For IServiceManager.cpp extern Mutex gDefaultServiceManagerLock; extern sp<IServiceManager> gDefaultServiceManager; |