Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88494897 authored by Steven Moreland's avatar Steven Moreland
Browse files

Revert "log for double-creation of BinderProxyNativeData."

Revert submission 33148964

Reason for revert: performance regression - not clear
if this is due to tests triggering this race more, or
if this race is happening normally. Will need to look
in more depth.

Reverted changes: /q/submissionid:33148964
Fixes: b/411924544
Fixes: b/411758055

Change-Id: I205ea3e12326d2f51c513f1f2ec7188b9ec78ae5
parent eead8c61
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -973,9 +973,6 @@ jobject javaObjectForIBinder(JNIEnv* env, const sp<IBinder>& val)
    BinderProxyNativeData* actualNativeData = getBPNativeData(env, object);
    if (actualNativeData != nativeData) {
        delete nativeData;

        // added to help debug bugs like b/405737267, feel free to delete
        ALOGE("Two threads raced to create BinderProxyNativeData.");
    }

    return object;