diff options
| author | 2017-01-23 10:46:50 -0800 | |
|---|---|---|
| committer | 2017-01-23 11:06:46 -0800 | |
| commit | 553ae6ab071b1db5e783c8c02f9311b4969729f6 (patch) | |
| tree | 7b5e3de36eceaa44a71c22405975ff5be5dedf4f | |
| parent | 51c51df46c1d8bbbd946dc2dde429ae91b29d47e (diff) | |
Workaround libmemunreachable lockup
Bug: 34586922
Test: hwui_unit_tests completes
Change-Id: Ia55f7bc49faf8a32624e2f16e2477eb12a261b07
| -rw-r--r-- | libs/hwui/tests/common/LeakChecker.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/hwui/tests/common/LeakChecker.cpp b/libs/hwui/tests/common/LeakChecker.cpp index d935382cc9a4..8a0b64b2f1cb 100644 --- a/libs/hwui/tests/common/LeakChecker.cpp +++ b/libs/hwui/tests/common/LeakChecker.cpp @@ -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 |