diff options
author | Albert Mingkun Yang <albertnetymk@google.com> | 2018-11-29 13:25:35 +0000 |
---|---|---|
committer | Roland Levillain <rpl@google.com> | 2019-01-18 16:32:55 +0000 |
commit | 0b4d146d628b359962db969c6138b18a1bcf49a9 (patch) | |
tree | 9aa05caed1a3540cc497bb6289fcd0473f96b6fe /test/ProfileTestMultiDex | |
parent | 3c29c66933f81dbb9af17caa197257ac67ee3c78 (diff) |
ART: make generational CC a runtime option
Add -Xgc:[no]generational_cc option to control whether generational
Concurrent Copy collector is enabled when art is launched.
Repurpose the environment variable and preprocessor macro name
`ART_USE_GENERATIONAL_CC` to selecting the default behavior (if unset,
the default is to use Generational CC collection by default).
Test: Run art with -Xgc:[no]generational_cc along with -XX:DumpGCPerformanceOnShutdown on some benchmarks to see if minor GC runs. parsed_options_test is updated to test this new option.
Test: make test-art-host-gtest-parsed_options_test
Test: make test-art-target-gtest-parsed_options_test
Bug: 112187497
Bug: 67628039
Change-Id: I6b4660b06f7e793911a2601bed24c33777190741
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions