am b8546001: Merge change 20878 into donut
Merge commit 'b8546001701405a76dad7e6235046e592296fac2' * commit 'b8546001701405a76dad7e6235046e592296fac2': Fix issue #2048263: More debugging information
This commit is contained in:
@@ -1701,6 +1701,14 @@ public final class ActivityThread {
|
||||
printRow(pw, TWO_COUNT_COLUMNS, "numPagers:", stats.numPagers, "inactivePageKB:",
|
||||
(stats.totalBytes - stats.referencedBytes) / 1024);
|
||||
printRow(pw, ONE_COUNT_COLUMN, "activePageKB:", stats.referencedBytes / 1024);
|
||||
|
||||
// Asset details.
|
||||
String assetAlloc = AssetManager.getAssetAllocations();
|
||||
if (assetAlloc != null) {
|
||||
pw.println(" ");
|
||||
pw.println(" Asset Allocations");
|
||||
pw.print(assetAlloc);
|
||||
}
|
||||
}
|
||||
|
||||
private void printRow(PrintWriter pw, String format, Object...objs) {
|
||||
|
||||
@@ -664,6 +664,11 @@ public final class AssetManager {
|
||||
*/
|
||||
public native static final int getGlobalAssetCount();
|
||||
|
||||
/**
|
||||
* {@hide}
|
||||
*/
|
||||
public native static final String getAssetAllocations();
|
||||
|
||||
/**
|
||||
* {@hide}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user