commit | 87003ad3f6ff0928c0f5f5dcf0024450b0ee18cb | [log] [tgz] |
---|---|---|
author | Mike Ma <yanmin@google.com> | Thu Mar 19 12:31:29 2020 -0700 |
committer | Mike Ma <yanmin@google.com> | Thu Mar 19 12:31:29 2020 -0700 |
tree | 2655d8e2909bc150716c4c577579b241c17ee9f2 | |
parent | b328e290f12184fd06f9aab121764e44ed94cb85 [diff] |
TextDumpsysSection memory optimization TextDumpsysSection used to inherent WorkerThreadSection, which allocates 2x more memory than the dumped content. This change saves the extra allocation by writing dumpsys content directly to FdBuffer. Bug: 150311553 Test: Manually run "incident -p EXPLICIT 4000" Change-Id: I9c0c0db75c8595822ee0711040e8865dd69378b6