New issue
Advanced search Search tips

Issue 881319 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

SuperSIze: Store Dex Section Sizes

Project Member Reported by agrieve@chromium.org, Sep 6

Issue description

For dex, we currently store only method sizes and "other entries". These are computed by apkanalyzer, and don't map directly to the dex-layout sections:
https://source.android.com/devices/tech/dalvik/dex-format#file-layout

Since "data" is large and easily broken down, we should split up into:
* string_data_item
* class_data_item
* code_items
* other data

I'm hoping this information will be useful to see the effects of build changes (e.g. proguard changes, multidex vs single dex)
 

Comment 1 by agrieve@chromium.org, Jan 16 (6 days ago)

r8 may have a tool that tells us what we want here:
https://r8.googlesource.com/r8/+/master/src/main/java/com/android/tools/r8/DexSegments.java

Sign in to add a comment