diff options
author | Dave Allison <dallison@google.com> | 2014-02-10 18:47:04 -0800 |
---|---|---|
committer | Dave Allison <dallison@google.com> | 2014-03-07 12:36:42 -0800 |
commit | 5e51851f6e91f6e5450435b51812e147db8b9735 (patch) | |
tree | 6d5632297c05e5fb7ced4c1a06dc51955d77d9df /libdvm/src/main | |
parent | f4a172a204e87d0235d0bebf814f00c5b17039ca (diff) | |
download | libcore-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.java | 2 |
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. } } |