diff options
| author | Josh Gao <jmgao@google.com> | 2018-06-18 16:37:01 -0700 |
|---|---|---|
| committer | Josh Gao <jmgao@google.com> | 2018-06-18 17:46:34 -0700 |
| commit | 3bbc8164b12f06c819a5b2acdc525199a9ff6f3e (patch) | |
| tree | a2215059e8060795a9b0af7c85d115c893898060 /libunwindstack/tests/MemoryCacheTest.cpp | |
| parent | ded557fa58ec2c7c2f2bea8b71d75afe21c37168 (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
