Mark (deleted) maps as unreadable.
When running thread stress, or doing lots of local unwinds, ART creates a lot of ashmem segments that exist and then are removed. The problem is that the map caching for local unwinds is built on the assumption that maps don't get deleted that often. Unfortunately, these transient maps can cause crashes when, eventually, an unwind tries to read from an address in a transient map. To fix this, mark any map that ends in (deleted) that is not executable and is not a shared library as unreadable. Bug: 26807329 (cherry picked from commit 42499366) Change-Id: I1587f1a523e108a59673c40798839abc2b068b6b
Loading
Please sign in to comment