summaryrefslogtreecommitdiff
path: root/runtime/gc/heap_test.cc
diff options
context:
space:
mode:
author Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2025-01-22 16:01:53 -0800
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2025-01-22 16:01:53 -0800
commitaa717c9dce95d4353e20b21aa0225d4fd8238a6f (patch)
treef51e443b0cae682e23b72f19c509befafb6d7aea /runtime/gc/heap_test.cc
parentcd2a00443cc0db8240d31e3373dc686e04176991 (diff)
parenteffe894aabea3f670902a5686673b82a76a182ba (diff)
Snap for 12955189 from effe894aabea3f670902a5686673b82a76a182ba to 25Q2-release
Change-Id: I4c62f44ddc72b7f9c03b8d085946fa12018d9523
Diffstat (limited to 'runtime/gc/heap_test.cc')
-rw-r--r--runtime/gc/heap_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/gc/heap_test.cc b/runtime/gc/heap_test.cc
index bd8fdc6b46..18e91da75d 100644
--- a/runtime/gc/heap_test.cc
+++ b/runtime/gc/heap_test.cc
@@ -165,7 +165,7 @@ TEST_F(HeapTest, GCMetrics) {
if (fg_collector_type == kCollectorTypeCC || fg_collector_type == kCollectorTypeCMC) {
// Only the Concurrent Copying and Concurrent Mark-Compact collectors enable
// GC metrics at the moment.
- if (heap->GetUseGenerationalCC()) {
+ if (heap->GetUseGenerational()) {
// Check that full-heap and/or young-generation GC metrics are non-null
// after trigerring the collection.
EXPECT_PRED2(