title: Android - Suspending all threads took: * ms
body: <p>I'm having these warnings in my logcat even after a while that i left the application. (Didn't kill though, just pressed back to leave it.)</p>
  
  <pre><code>05-03 13:43:42.955 13047-13053/package W/art: Suspending all threads took: 7.873ms
  05-03 13:44:32.458 13047-13053/package W/art: Suspending all threads took: 13.441ms
  05-03 13:46:58.584 13047-13053/package W/art: Suspending all threads took: 34.462ms
  05-03 13:47:00.574 13047-13053/package W/art: Suspending all threads took: 8.281ms
  05-03 13:48:00.425 13047-13053/package W/art: Suspending all threads took: 25.929ms
  05-03 13:48:16.019 13047-13053/package W/art: Suspending all threads took: 35.053ms
  05-03 13:50:01.858 13047-13053/package W/art: Suspending all threads took: 16.160ms
  05-03 13:50:17.975 13047-13053/package W/art: Suspending all threads took: 20.074ms
  05-03 13:52:07.744 13047-13053/package W/art: Suspending all threads took: 19.814ms
  05-03 13:53:17.668 13047-13053/package W/art: Suspending all threads took: 7.578ms
  05-03 13:54:42.766 13047-13053/package W/art: Suspending all threads took: 11.316ms
  05-03 13:56:19.314 13047-13053/package W/art: Suspending all threads took: 21.873ms
  05-03 13:58:56.140 13047-13053/package W/art: Suspending all threads took: 7.860ms
  05-03 14:00:12.084 13047-13053/package W/art: Suspending all threads took: 19.430ms
  </code></pre>
  
  <p>Those numbers are serious and a lot.</p>
  
  <p>I saw some questions about this issue, and none of them was similar to mine and i cannot accept that "ignore it unless you don't have OOM or freezing issue" if that may cause, i cannot wait until it happens to do something about it. </p>
  
  <p>I just need to know what causes this and how can i prevent this.</p>
  
  <p>I use Retrofit to get my webservice request done. And a ThreadPoolExecutor to get/update/delete data from cache while waiting for request completed. I do not think any of these causing this though.</p>
  
  <p>Any ideas or general informations about this situation are appreciated, because i find nothing specific on this "suspending all threads" warning.</p>