diff options
author | Zhenhua WANG <zhenhua.wang@intel.com> | 2017-05-12 13:53:51 +0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2017-05-15 09:23:49 -0700 |
commit | 97ef40beede22ccc986d5a2b3f7bf81b03d8bb99 (patch) | |
tree | f1e621d60d61e4ec548e596d840646181884ca3f /libc/malloc_hooks/malloc_hooks.cpp | |
parent | d21e68a99b9cb71006cea2f5b43722499fe3d40d (diff) |
test: check unbounded memory leak in pthread detach
In pthread_leak.detach test, compare the memory usage after two same
scenarios - all children threads have exited. Thus, test emulated by
NativeBridge, which may reserve a memory pool, will pass if it's not
unbounded leak.
Bug: https://issuetracker.google.com/37920774
Test: CtsBionicTestCases
(cherry picked from commit cf17b487ef60aa00ff9b6873cfed50ebde7864c4)
Change-Id: Ib47b26975489b397783e29d65f67fe775b060589
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions