Preload DexCaches
Bug: 11045348 Change-Id: Id27333652d4b3b9ace6c1cdf0566bf39bf0084ed
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user