summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryCacheTest.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2018-06-18 16:37:01 -0700
committerJosh Gao <jmgao@google.com>2018-06-18 17:46:34 -0700
commit3bbc8164b12f06c819a5b2acdc525199a9ff6f3e (patch)
treea2215059e8060795a9b0af7c85d115c893898060 /libunwindstack/tests/MemoryCacheTest.cpp
parentded557fa58ec2c7c2f2bea8b71d75afe21c37168 (diff)
adb: detect some spin loops and abort.
Track pending fdevents, and abort if we see an fdevent ready for read/write for 5 minutes continuously. Also, add a service that intentionally starts spinning, to test this. Test: manually changed timeout to a minute, `adb raw spin` Change-Id: Ibfa5e7e654996587f745887cb04987b982d79bed
Diffstat (limited to 'libunwindstack/tests/MemoryCacheTest.cpp')
0 files changed, 0 insertions, 0 deletions