I read your example:
What was variable has become
static.
as meaning that the memory location, found by resolving the
symbol Y, contains a constant rather than variable value.
We know that
dexopt resolves Y to a numeric offset in memory where the value of Y will
reside.
Does dexopt actually calculate the final value 51, store it,
calculate it's numeric offset, substitute the numeric offset in the dalvik
bytecode anywhere that the symbol Y was found in the Java bytecode and then
delete (by not copying) that unique computation of the value of 51 from the
Dalvik bytecode?
Does dexopt check for uniqueness of the values 3 and 17
and, if used only in that unique computation, that is, to calculate the constant
51, does it then delete (by not copying) the values 3, 17 and their numeric
offsets?
Or have I misunderstood what you're saying?
JWC [ Reply to This | Parent | # ]
|