commit | be0d891ac881f0dc4a2650014433b0354f9d7593 | [log] [tgz] |
---|---|---|
author | Hans Boehm <hboehm@google.com> | Tue May 04 16:05:37 2021 -0700 |
committer | Hans Boehm <hboehm@google.com> | Fri May 07 18:54:37 2021 +0000 |
tree | cfea57d31fa90bb7490f6185c7efb26ebff46791 | |
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