commit | 5ccd04c3e074d0f676a1b7cb31f579c1359f76c4 | [log] [tgz] |
---|---|---|
author | Tim Murray <timmurray@google.com> | Mon Jan 25 15:25:08 2021 -0800 |
committer | Tim Murray <timmurray@google.com> | Wed Jan 27 15:39:45 2021 -0800 |
tree | a667525c5aa299f8e7200fd7bd7e9683fd8b5797 | |
parent | e7ce67f421730938e26abce67fa09e411a8549d4 [diff] |
DynamicCodeLoggingService: avoid object churn Recreating Matchers seems to incur a large memory cost until GC. Reuse the Matcher and reset it to avoid the worst of this. Test: atest DynamicCodeLoggerIntegrationTests Bug: 178402808 Change-Id: I959a5a6eb92366495cf343116636703d1e752742