summaryrefslogtreecommitdiff
path: root/tests/malloc_test.cpp
diff options
context:
space:
mode:
authorZhenhua WANG <zhenhua.wang@intel.com>2017-05-12 13:53:51 +0800
committerElliott Hughes <enh@google.com>2017-05-12 11:09:45 -0700
commitcf17b487ef60aa00ff9b6873cfed50ebde7864c4 (patch)
tree380d94cf47474bd06ca561d326373f7711d6b198 /tests/malloc_test.cpp
parentd785b4465ead5ad26a300b0d3c05bad23515d00d (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 Change-Id: Ia51aa67bacb588284747652b36ea5d8e85bea832
Diffstat (limited to 'tests/malloc_test.cpp')
0 files changed, 0 insertions, 0 deletions