Merge "Fix gNumProxies double increment." am: 18f8500e32
am: 1b4f537429
Change-Id: I39f5db2bf430051d80ef27fe312cf3f397774edd
This commit is contained in:
@@ -664,7 +664,7 @@ jobject javaObjectForIBinder(JNIEnv* env, const sp<IBinder>& val)
|
|||||||
nativeData->mObject = val;
|
nativeData->mObject = val;
|
||||||
gNativeDataCache = nullptr;
|
gNativeDataCache = nullptr;
|
||||||
++gNumProxies;
|
++gNumProxies;
|
||||||
if (++gNumProxies >= gProxiesWarned + PROXY_WARN_INTERVAL) {
|
if (gNumProxies >= gProxiesWarned + PROXY_WARN_INTERVAL) {
|
||||||
ALOGW("Unexpectedly many live BinderProxies: %d\n", gNumProxies);
|
ALOGW("Unexpectedly many live BinderProxies: %d\n", gNumProxies);
|
||||||
gProxiesWarned = gNumProxies;
|
gProxiesWarned = gNumProxies;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user