Re: Java (bytecode) execution speed



Christian <fakemail@xxxxxx> wrote:
Is there any interpretation going on today in the jvm or is simply
everything compiled to machinecode just in time before execution?

Modern JVMs do both; the performance-critical stuff is JIT'ed, but a lot
of one-off initialization code will be interpreted. At one time, JIT
compilers would frequently run before any code was executed; this was
changed because mixed mode (some interpreting, some compiling) reduces
the perceived start-up time of applications.

--
Chris Smith
.



Relevant Pages

  • Re: A quick question
    ... In all the compilers that I've used the ... int main ... They all should have identical behavior, but execution ... C++ Faq: http://www.parashift.com/c++-faq-lite ...
    (comp.lang.c)
  • Re: Is it possible to get the callers name in C?
    ... >> has no way to recognise names at execution time. ... but only when you have compiled with debug information included. ... executable or, as some compilers do, in a parallel debugging database. ...
    (alt.comp.lang.learn.c-cpp)
  • Re: IDE for Atmel ARM processor
    ... > The headline cost of the purchase price is not all there is to it. ... a sales pitch on why GNU tools may not be the best choice. ... What compilers did you actually mention? ... Where did you talk about this compilers speed of execution compared to ...
    (comp.arch.embedded)
  • Re: size of a sizeof(pointer)
    ... > processes them as a whole into some form more amenable for execution. ... > Contrast that with an interpreter, which is incremental - it processes ... compilers store away code for later execution while interpreters execute ... "All that flower power is no match for my glower power!" ...
    (comp.lang.c)