Merge "Log long GC pause only when the process cares about pause time" into dalvik-dev
diff --git a/runtime/gc/heap.cc b/runtime/gc/heap.cc
index d5a8d75..0b91d78 100644
--- a/runtime/gc/heap.cc
+++ b/runtime/gc/heap.cc
@@ -1239,7 +1239,7 @@
       }
   }
 
-  if (was_slow) {
+  if (was_slow && care_about_pause_times_) {
       const size_t percent_free = GetPercentFree();
       const size_t current_heap_size = GetBytesAllocated();
       const size_t total_memory = GetTotalMemory();