--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=.
Hi Ben,
For "switchable between JIT and interpreter at bytecode level" -- is
this a just convenience way for developing/debugging the JIT, or part
of a fundamental design (i.e., to support single-stepping inside the
debugger). I hope it's the former, or else it seems performance gain
will be quite limited.
How much overhead does the trace collection add to interpretation?
There's a large part of the framework code that's executed exactly
once during app initialization. Will app start-up be hurt? With method-
based JIT it's quit easy to turn off JIT-sampling until the app has
painted the first screen, etc. However, with trace-based JIT, I
imagine that such a strategy would be much harder to do.
What would be the worst case scenario for trace-based compilation? For
example, if I have a large switch statement like this
switch (x) { // case 0 .. 255
case 1: very simple code; break;
case 2: very simple code; break;
case 3: very simple code; break;
...
case 255: very simple code; break;
}
can this be handled well?
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
On Nov 21 2009, 12:34 am, Ben Cheng <bcch...@android.com> wrote:
> Hi Tomei,
>
> Please see my replies inline:
>
> > > > android-platfo...@googlegroups.com<android-platform%2Bunsu...@googlegroups.com>
> > <android-platform%2Bunsubscribe...@googlegroups.com>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/android-platform?hl=.
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "android-platform" group.
> > To post to this group, send email to android-...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > android-platfo...@googlegroups.com<android-platform%2Bunsu...@googlegroups.com>