summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Second.java
diff options
context:
space:
mode:
authorHans Boehm <hboehm@google.com>2018-12-18 17:01:00 -0800
committerHans Boehm <hboehm@google.com>2019-01-08 11:24:45 -0800
commit15752673020e89df2a9353f332bd1409de4cd4b7 (patch)
tree7139aae2bbdeeaf0869417b88a4f6067e188ef39 /test/ProfileTestMultiDex/Second.java
parent1f992258112f4ed19dcca3fde052eb0d85d5cc55 (diff)
Tweak native allocation GC triggering thresholds
There is some evidence that collecting more frequently for small Java heap apps sometimes causes problems. Relative to the original P state, we should now collect less frequently, if we are either at the beginning of a Java GC cycle, or the Java heap is large. Otherwise, we should be similar to the original, modulo accounting changes. Report a better cause if native allocation ends up waiting for the GC. Increase kNotifyNativeInterval on host, since mallinfo() cost appears to be the cause of a Kotlin benchmark regression on host. Increase kHugeNativeAllocs enough so that we should normally never block for a GC we trigger. It looks like 175-alloc-big-bignums still passes on walleye in spite of this, but we may have to disable that test on target if it becomes flakey. Bug: 121052300 Bug: 121039645 Bug: 122099093 Test: Treehugger, art/test/testrunner/testrunner.py --host --64 -t 175-alloc-big-bignums Change-Id: I6fbd107d4a2519225f628f2c1f96dad034849d12
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions