diff options
author | 2021-05-04 16:05:37 -0700 | |
---|---|---|
committer | 2021-05-07 18:54:37 +0000 | |
commit | be0d891ac881f0dc4a2650014433b0354f9d7593 (patch) | |
tree | cfea57d31fa90bb7490f6185c7efb26ebff46791 /libnativeloader/library_namespaces.cpp | |
parent | ab0b19fb9f6ab58fcd3094d381af29c89c7a6753 (diff) |
Add 2040-huge-native-alloc test
Check that if we allocate more than a gigabyte of native memory and then
repeatedly notify the collector of native allocation, we temporarily
block the allocation for a reasonable amount of time to allow the GC to
catch up.
We previously had some coverage of this, but lost it when BigInteger
moved away from using native allocation.
Test: Ran locally on host; TreeHugger.
Bug: 186592536
Change-Id: Id7d120e00630e26bcdf396a80069c9cca7c00804
Diffstat (limited to 'libnativeloader/library_namespaces.cpp')
0 files changed, 0 insertions, 0 deletions