diff options
Diffstat (limited to 'runtime/gc/heap_test.cc')
-rw-r--r-- | runtime/gc/heap_test.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/runtime/gc/heap_test.cc b/runtime/gc/heap_test.cc index 5e64ae2192..b569241bdc 100644 --- a/runtime/gc/heap_test.cc +++ b/runtime/gc/heap_test.cc @@ -201,12 +201,8 @@ TEST_F(HeapTest, GCMetrics) { EXPECT_FALSE(full_gc_tracing_throughput->IsNull()); EXPECT_FALSE(full_gc_throughput_avg->IsNull()); EXPECT_FALSE(full_gc_tracing_throughput_avg->IsNull()); - if (fg_collector_type != kCollectorTypeCMC) { - // TODO(b/270957146): For some reason, these metrics are still null - // after running the Concurrent Mark-Compact collector; investigate why. - EXPECT_FALSE(full_gc_scanned_bytes->IsNull()); - EXPECT_FALSE(full_gc_scanned_bytes_delta->IsNull()); - } + EXPECT_FALSE(full_gc_scanned_bytes->IsNull()); + EXPECT_FALSE(full_gc_scanned_bytes_delta->IsNull()); EXPECT_FALSE(full_gc_freed_bytes->IsNull()); EXPECT_FALSE(full_gc_freed_bytes_delta->IsNull()); EXPECT_FALSE(full_gc_duration->IsNull()); |