diff options
Diffstat (limited to 'runtime/gc/heap_test.cc')
| -rw-r--r-- | runtime/gc/heap_test.cc | 2 |
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( |