Merge "Output number of bytes used by LinearAlloc during dexopt."
diff --git a/vm/analysis/DexPrepare.cpp b/vm/analysis/DexPrepare.cpp
index 54bb16c..e8112d5 100644
--- a/vm/analysis/DexPrepare.cpp
+++ b/vm/analysis/DexPrepare.cpp
@@ -870,10 +870,11 @@
msgStr = "verify";
else if (doOpt)
msgStr = "opt";
- ALOGD("DexOpt: load %dms, %s %dms",
+ ALOGD("DexOpt: load %dms, %s %dms, %d bytes",
(int) (loadWhen - prepWhen) / 1000,
msgStr,
- (int) (verifyOptWhen - loadWhen) / 1000);
+ (int) (verifyOptWhen - loadWhen) / 1000,
+ gDvm.pBootLoaderAlloc->curOffset);
result = true;