From 5e51851f6e91f6e5450435b51812e147db8b9735 Mon Sep 17 00:00:00 2001 From: Dave Allison Date: Mon, 10 Feb 2014 18:47:04 -0800 Subject: ART sampling profiler Add isDexOptNeededInternal() to the DexFile class. This is like isDexOptNeeded() except takes additional arguments that are used to determine whether a profile has changed of not. The isDexOptNeeded() method is part of the exported API and cannot be changed. The new method is not part of the API. Also add additional argument to the registerAppInfo() methods (the package name). This is used to determine the profile filename. Bug: 12877748 Change-Id: If862cc5d20fae4b9d46c488f401cda6d433b4a57 --- libdvm/src/main/java/dalvik/system/VMRuntime.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdvm/src') diff --git a/libdvm/src/main/java/dalvik/system/VMRuntime.java b/libdvm/src/main/java/dalvik/system/VMRuntime.java index 47823f0..3e4c160 100644 --- a/libdvm/src/main/java/dalvik/system/VMRuntime.java +++ b/libdvm/src/main/java/dalvik/system/VMRuntime.java @@ -320,7 +320,7 @@ public final class VMRuntime { /** * Register application info */ - public static void registerAppInfo(String appDir, String processName) { + public static void registerAppInfo(String appDir, String processName, String pkgname) { // Nothing to do in dalvik. } } -- cgit v1.1