OSDN Git Service

Workaround libmemunreachable lockup
authorJohn Reck <jreck@google.com>
Mon, 23 Jan 2017 18:46:50 +0000 (10:46 -0800)
committerJohn Reck <jreck@google.com>
Mon, 23 Jan 2017 19:06:46 +0000 (11:06 -0800)
Bug: 34586922
Test: hwui_unit_tests completes
Change-Id: Ia55f7bc49faf8a32624e2f16e2477eb12a261b07

libs/hwui/tests/common/LeakChecker.cpp

index d935382..8a0b64b 100644 (file)
@@ -67,6 +67,12 @@ 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