diff options
author | Christopher Ferris <cferris@google.com> | 2019-05-06 19:03:59 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2019-05-08 13:36:58 -0700 |
commit | 020681fec706b294a4c1818b697ae242a245c20b (patch) | |
tree | 3a66c3ff24aad181822d50c7903f5f866fc686db /libc/stdio/stdio.cpp | |
parent | 2a67b023bd615d43d2f9ee00c62049e11ea85379 (diff) |
Avoid using malloc debug code after exit.
I wrote a new unit test that would fail on the old version of the
code.
On a walleye big cpu, this costs about 40ns-50ns (going from ~430ns to ~480ns).
I think this is an acceptable performance degradation.
Bug: 131867816
Test: New unit tests pass.
Change-Id: I4c0f4373fb0694bf29c3824dbb1224a8a17e211e
Merged-In: I4c0f4373fb0694bf29c3824dbb1224a8a17e211e
(cherry picked from commit d269fcc935b276502b9e47a575d76693fe1b8455)
Diffstat (limited to 'libc/stdio/stdio.cpp')
0 files changed, 0 insertions, 0 deletions