diff options
author | 2014-11-12 00:24:28 +0000 | |
---|---|---|
committer | 2014-11-12 00:24:29 +0000 | |
commit | ca69e8f2d0a1fc963bd170f9b2bf164028761323 (patch) | |
tree | f1e09c756c16eae703eaaf6e4e1c27f7ef113fe1 /libs/binder/Static.cpp | |
parent | 83cbc5a7588793435fd986e220fe1f9b88342069 (diff) | |
parent | 7e790af756d7891cb1cf1374bb283a8fbcbe6b49 (diff) |
Merge "Add tracking of parcel memory allocations." into lmp-mr1-dev
Diffstat (limited to 'libs/binder/Static.cpp')
-rw-r--r-- | libs/binder/Static.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libs/binder/Static.cpp b/libs/binder/Static.cpp index 2062692f48..b870c342d7 100644 --- a/libs/binder/Static.cpp +++ b/libs/binder/Static.cpp @@ -90,7 +90,13 @@ public: static LibBinderIPCtStatics gIPCStatics; -// ------------ ServiceManager.cpp +// ------------ Parcel.cpp + +Mutex gParcelGlobalAllocSizeLock; +size_t gParcelGlobalAllocSize = 0; +size_t gParcelGlobalAllocCount = 0; + +// ------------ IServiceManager.cpp Mutex gDefaultServiceManagerLock; sp<IServiceManager> gDefaultServiceManager; |