Chromium Code Reviews
DescriptionDisable proguard optimization that removes write-only fields.
Static fields in Java are often assumed to stay alive throughout the
runtime of the entire program. However, the proguard
field/removal/writeonly optimization removes even static fields that are
only written to. This breaks some WebView code that relies on static
fields to hold onto a file-lock which prevents file-access from other
processes.
.dex size increase after this change:
uncompressed dex, Chrome 5670532 -> 5714496, diff 43964
compressed dex, Chrome 2491927 -> 2512376, diff 20449
uncompressed dex, WebView 999208 -> 1005192, diff 5984
compressed dex, WebView 430871 -> 434089, diff 3218
BUG=647291
Patch Set 1 #
Messages
Total messages: 9 (2 generated)
|
|||||||||||||||||||