From 8e2c56252aa9527bd9a82bdd147fdc46cf5deb9c Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Tue, 21 Jun 2016 15:14:20 -0700 Subject: Dump more dex file data in oatdump Dump some statistics for each dex file along side with strings loaded from code and dex code bytes. Sample output: Cumulative dex file data Num string ids: 202809 Num method ids: 320464 Num field ids: 162822 Num type ids: 68151 Num class defs: 48061 Unique strings loaded from dex code: 51049 Total strings loaded from dex code: 106651 Number of unique dex code items: 247929 Total number of dex code bytes: 11090574 Added content testing to oat dump test. No significant slowdown. TEST: test-art-host Bug: 29462018 Change-Id: I60effd3087d8c427eda4ee26431d5d77165b3939 --- compiler/utils/string_reference_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/utils/string_reference_test.cc') diff --git a/compiler/utils/string_reference_test.cc b/compiler/utils/string_reference_test.cc index df5080e93e..0fd9e5ba53 100644 --- a/compiler/utils/string_reference_test.cc +++ b/compiler/utils/string_reference_test.cc @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "utils/string_reference.h" +#include "string_reference.h" #include -- cgit v1.2.3-59-g8ed1b