diff options
| -rw-r--r-- | runtime/gc/heap.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/gc/heap.cc b/runtime/gc/heap.cc index 9e454ca100..4d16b6e114 100644 --- a/runtime/gc/heap.cc +++ b/runtime/gc/heap.cc @@ -880,12 +880,12 @@ void Heap::IncrementDisableThreadFlip(Thread* self) { bool has_waited = false; uint64_t wait_start = NanoTime(); if (thread_flip_running_) { - TimingLogger::ScopedTiming split("IncrementDisableThreadFlip", - GetCurrentGcIteration()->GetTimings()); + ATRACE_BEGIN("IncrementDisableThreadFlip"); while (thread_flip_running_) { has_waited = true; thread_flip_cond_->Wait(self); } + ATRACE_END(); } ++disable_thread_flip_count_; if (has_waited) { |