Saturday, October 1, 2011

Re: [android-developers] Variable instruction counts of Android applications

On Sat, Oct 1, 2011 at 1:08 PM, Jack Harvard <jack.harvard@gmail.com> wrote:
> Hi,
>
> I find that the same application running on Android has different
> instruction counts every time it's run, and the difference in
> instruction counts can be 2x or ~10 billion instructions, and I'm
> trying to understand the reasons for that?
>
> Obvious reasons might be JIT and JVM, maybe Android browser has any
> time dependent code as well? The Android source code tree is down for
> some time, I don't have access to the source code.
>

Unsure, trace based JIT, so optimizes based on what code is actually *used*.

Some of it is mirrored on github, but even if you read dalvik, finding
the answer to this question might take a long time (because it's just
plain complicated to understand the source.)

Kris

> Thanks,
> Jack
>

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment