summaryrefslogtreecommitdiff
path: root/tools/preload/MemoryUsage.java
diff options
context:
space:
mode:
authorJesse Wilson <jessewilson@google.com>2010-02-23 17:06:58 -0800
committerJesse Wilson <jessewilson@google.com>2010-02-24 15:50:05 -0800
commite9fcaa0697dcb257d0288118347f721ce8806b55 (patch)
treef454ddf387fc3a299d9e06ae40fa01af3e0eb6af /tools/preload/MemoryUsage.java
parent4bd222f1072513b21cd66d6f983ebdccb6d9b0c8 (diff)
New update of preloaded classes for Froyo.
Diffstat (limited to 'tools/preload/MemoryUsage.java')
-rw-r--r--tools/preload/MemoryUsage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/preload/MemoryUsage.java b/tools/preload/MemoryUsage.java
index bc21b6f9277b..d8f95f4371a5 100644
--- a/tools/preload/MemoryUsage.java
+++ b/tools/preload/MemoryUsage.java
@@ -166,7 +166,7 @@ class MemoryUsage implements Serializable {
+ ":/system/framework/loadclass.jar";
private static final String[] GET_DIRTY_PAGES = {
- "adb", "-e", "shell", "dalvikvm", CLASS_PATH, "LoadClass" };
+ "adb", "shell", "dalvikvm", CLASS_PATH, "LoadClass" };
/**
* Measures memory usage for the given class.
@@ -248,7 +248,7 @@ class MemoryUsage implements Serializable {
String line = in.readLine();
if (line == null || !line.startsWith("DECAFBAD,")) {
System.err.println("Got bad response for " + className
- + ": " + line);
+ + ": " + line + "; command was " + Arrays.toString(commands));
errorCount += 1;
return NOT_AVAILABLE;
}