Add dexanalyze tool
Used to gather statistics about dex files. Sample output: Cumulative analysis for 240 DEX files Num string ids: 9809636 Num method ids: 11334990 Num field ids: 8281881 Num type ids: 2291729 Num class defs: 1604550 Same class direct: 1577080 Other class direct: 5114002 Same class virtual: 2118445 Other class virtual: 15998142 Same class static: 693507 Other class static: 6496367 Num strings accessed from code: 5832974 Unique(per class) method ids accessed from code: 15169103 Unique(per class) string ids accessed from code: 4279695 Same class invoke: 4389032 Other class invoke: 27608511 Invokes from code: 31997543 Bug: 77709234 Bug: 77721545 Test: time dexanalyze -count-indices <APKS> Test: mm test-art-host-gtest-dexanalyze_test -j64 Test: mm test-art-target-gtest-dexanalyze_test -j64 Change-Id: I3cd3fd10a9c540c7780942fc33f4eb4c7ff5d914
Loading
Please sign in to comment