OSDN Git Service

Revert "Workaround libmemunreachable lockup"
authorJohn Reck <jreck@google.com>
Tue, 24 Jan 2017 18:13:03 +0000 (18:13 +0000)
committerJohn Reck <jreck@google.com>
Tue, 24 Jan 2017 18:13:03 +0000 (18:13 +0000)
This reverts commit 553ae6ab071b1db5e783c8c02f9311b4969729f6.

Change-Id: I593b78f7073d84a5e16372849d27e943af65694c
Fixes: 34586922

libs/hwui/tests/common/LeakChecker.cpp

index 8a0b64b..d935382 100644 (file)
@@ -67,12 +67,6 @@ static void logUnreachable(initializer_list<UnreachableMemoryInfo> infolist) {
 }
 
 void LeakChecker::checkForLeaks() {
-    // TODO: Re-enable, disabled to workaround b/34586922
-    if ((true)) {
-        cout << "checkForLeaks disabled, see b/34586922" << endl;
-        return;
-    }
-
     // TODO: Until we can shutdown the RT thread we need to do this in
     // two passes as GetUnreachableMemory has limited insight into
     // thread-local caches so some leaks will not be properly tagged as leaks