am 6c3baf12: Preload DexCaches

* commit '6c3baf12e0a6417177793a2e7e95d22721203813':
  Preload DexCaches
This commit is contained in:
Brian Carlstrom
2013-10-08 18:39:42 -07:00
committed by Android Git Automerger

View File

@@ -322,6 +322,9 @@ public class ZygoteInit {
// Restore default.
runtime.setTargetHeapUtilization(defaultUtilization);
// Fill in dex caches with classes, fields, and methods brought in by preloading.
runtime.preloadDexCaches();
Debug.stopAllocCounting();
// Bring back root. We'll need it later.