diff options
author | 2023-02-22 19:14:14 +0000 | |
---|---|---|
committer | 2023-02-28 15:14:10 +0000 | |
commit | 68643f562e6e8faf0408a123a937041e4ea3cc2f (patch) | |
tree | 7cad7ebe3d34d9cf5849335661c0f3ca7d698d6d /compiler/optimizing/code_sinking.cc | |
parent | 92a1eacde8c0720939eea3841bfb6cc4d70b6040 (diff) |
Enable the computation and testing of GC metrics in ART's CMC collector.
These metrics were previously only enabled in ART's Concurrent Copying
(CC) collector; also enable them in the Concurrent Mark-Compact (CMC)
collector.
Amend test `HeapTest.GCMetrics` (in ART gtest `art_runtime_tests`) to
reflect this new behavior of ART's CMC collector.
Test: ART_USE_READ_BARRIER=true ART_USE_GENERATIONAL_CC=true \
m test-art-host-gtest-art_runtime_tests
Test: ART_USE_READ_BARRIER=true ART_USE_GENERATIONAL_CC=false \
m test-art-host-gtest-art_runtime_tests
Test: ART_USE_READ_BARRIER=false \
m test-art-host-gtest-art_runtime_tests
Bug: 270391874
Bug: 270957146
Change-Id: Idb23c3ef145549e69fc8e97a4fe977ba71f61873
Diffstat (limited to 'compiler/optimizing/code_sinking.cc')
0 files changed, 0 insertions, 0 deletions