summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Main.java
diff options
context:
space:
mode:
authorHans Boehm <hboehm@google.com>2019-03-29 22:55:06 -0700
committerHans Boehm <hboehm@google.com>2019-04-20 00:52:14 +0000
commitbb2467b398481a15ddb0b65cfcf3c15ff3cb0b8d (patch)
tree1fb58f57d31e0adb6e5b3170a45de16d3e5179f0 /test/ProfileTestMultiDex/Main.java
parent7c887c57b1b32b9432c74582ab9a4be43a280ee9 (diff)
Make kHugeNativeAllocs configurable
Add -XX:StopForNativeAllocs command line argument to replace kHugeNativeAllocs constant. The default remains at 1 GB. But This default will allow small memory devices to run out of memory if we allocate Java owned native memory faster than what the GC can keep up with. Setting it to a smaller value should prevent that. Bug: 122552730 Test: Boot AOSP, Treehugger Change-Id: I5c84b2f1f67038e1b7a0ca3f5fc08090359c5f3e
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions