summaryrefslogtreecommitdiff
path: root/test/MultiDex
diff options
context:
space:
mode:
authorHans Boehm <hboehm@google.com>2021-05-04 16:05:37 -0700
committerHans Boehm <hboehm@google.com>2021-05-07 18:54:37 +0000
commitbe0d891ac881f0dc4a2650014433b0354f9d7593 (patch)
treecfea57d31fa90bb7490f6185c7efb26ebff46791 /test/MultiDex
parentab0b19fb9f6ab58fcd3094d381af29c89c7a6753 (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 'test/MultiDex')
0 files changed, 0 insertions, 0 deletions