commit | 79cf3db41dbe8ff01463ed83437031e4d672d9f3 | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Mon Feb 26 14:38:08 2018 -0800 |
committer | Alex Light <allight@google.com> | Mon Feb 26 15:23:03 2018 -0800 |
tree | 61be3fd19fef3f1855ca016b73d284ec9724c895 | |
parent | 2e291b55f7eded1e7eff5c4845b598e0b090fcca [diff] |
Make StreamRedirector try to exhaust itself before exiting The StreamRedirector would kill itself very eagerly. This meant that useful context was often lost. Change StreamRedirector to continue printing until it would need to pause to get more data. Test: Modify a test to timeout and run Test: ./art/tools/run-libjdwp-tests.sh --mode=host Bug: 69243589 Change-Id: I083983501fa49828b29009918e1de89732b41710