summaryrefslogtreecommitdiff
path: root/test/971-iface-super/util-src/generate_java.py
diff options
context:
space:
mode:
author Hans Boehm <hboehm@google.com> 2021-03-15 11:19:33 -0700
committer Hans Boehm <hboehm@google.com> 2021-08-25 01:39:17 +0000
commit7d992f714a69c94c95ee7f1ae7e96acb30a9a682 (patch)
tree6fb1f280a29b2f731e6de0105173bb4e3d21ab39 /test/971-iface-super/util-src/generate_java.py
parent9d642a84fbf39c65895ccd25c2b104b4917e43e8 (diff)
Trigger fewer GCs during startup
Instead of explicitly triggering a GC after two seconds, gradually reduce the GC triggering threshold. In particular, a small process that almost immediately goes into the background should GC only as part of the transition to background. Ensure that the first collection is a full (technically "partial", non-sticky) gc, that tries to collect everything but zygote space. There should be very few allocated objects except in zygote space. Clarify the concurrency rules for accessing concurrent_start_bytes_ in the process. Test: Build and boot AOSP Bug: 181351667 Change-Id: Id85d7e405b9305a70ba751a82ab7c2226eb83308
Diffstat (limited to 'test/971-iface-super/util-src/generate_java.py')
0 files changed, 0 insertions, 0 deletions