From c8cfc667ddb82b08b889a24831a3d00cc6490bd9 Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Mon, 7 Oct 2013 17:47:45 -0700 Subject: Preload DexCaches Bug: 11045348 Change-Id: I3025d8f95e157af602b0ae91d974cb5e6678fb3d --- libart/src/main/java/dalvik/system/VMRuntime.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libart') diff --git a/libart/src/main/java/dalvik/system/VMRuntime.java b/libart/src/main/java/dalvik/system/VMRuntime.java index 19e18da..8f19e3a 100644 --- a/libart/src/main/java/dalvik/system/VMRuntime.java +++ b/libart/src/main/java/dalvik/system/VMRuntime.java @@ -240,4 +240,8 @@ public final class VMRuntime { public native void trimHeap(); public native void concurrentGC(); + + public void preloadDexCaches() { + // Do nothing with ART, image generation already does this. + } } -- cgit v1.1