summaryrefslogtreecommitdiffstats
path: root/libdvm/src/main
diff options
context:
space:
mode:
authorDave Allison <dallison@google.com>2014-02-10 18:47:04 -0800
committerDave Allison <dallison@google.com>2014-03-07 12:36:42 -0800
commit5e51851f6e91f6e5450435b51812e147db8b9735 (patch)
tree6d5632297c05e5fb7ced4c1a06dc51955d77d9df /libdvm/src/main
parentf4a172a204e87d0235d0bebf814f00c5b17039ca (diff)
downloadlibcore-5e51851f6e91f6e5450435b51812e147db8b9735.zip
libcore-5e51851f6e91f6e5450435b51812e147db8b9735.tar.gz
libcore-5e51851f6e91f6e5450435b51812e147db8b9735.tar.bz2
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
Diffstat (limited to 'libdvm/src/main')
-rw-r--r--libdvm/src/main/java/dalvik/system/VMRuntime.java2
1 files changed, 1 insertions, 1 deletions
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.
}
}