Google I/O 2010 - A JIT Compiler for Android's Dalvik VM

Поделиться
HTML-код
  • Опубликовано: 25 авг 2024

Комментарии • 10

  • @bernd_the_almighty
    @bernd_the_almighty 11 лет назад

    By call overhead I mean the actual overhead to call a function. I don't know how ARM processors or whatever Android runs on work, but on x86, to call a function, you need to establish a stack frame by moving registers around, by pushing required arguments in stack, by saving caller-saved registers used at the point of function call, by performing a jump and then after the call, you destruct the frame, and jump back... And all of this can be done using 1 vectorized instruction.

  • @MikeTrieu
    @MikeTrieu 14 лет назад

    Whoa! RUclips's interactive transcript mode is awesome! XD

  • @sharp7j
    @sharp7j 11 лет назад

    So your saying its taking away CPU resources? But WITHOUT JIT you will have the interpreter taking up CPU resources. The only time JIT is bad is when all of your code is already in native code, which maybe you are thinking of since many 3D graphic libraries might be all in native code? Not sure.

  • @MikeTrieu
    @MikeTrieu 14 лет назад

    I've observed several errors in the transcript. Is there a feedback method to report these errors for correction?

  • @bernd_the_almighty
    @bernd_the_almighty 11 лет назад

    But games require lots of matrix/vector math. There's a lot of overhead to call functions to do, for example, vector multiplication instead of doing it inline in native code.

  • @sharp7j
    @sharp7j 11 лет назад

    Your comment doesn't really make sense. What about "high end" programs make it run slower with JIT on?

  • @bernd_the_almighty
    @bernd_the_almighty 11 лет назад

    "ask questions on Google Wave"
    haha

  • @thedarkness97
    @thedarkness97 13 лет назад

    kindle with 2.1 Eclair with JIT enabled is useless.

  • @Grahamaan27
    @Grahamaan27 12 лет назад

    5:21 "its really a smallish amount of code"

  • @KevinColumbus
    @KevinColumbus 13 лет назад

    Lol. Pretend he is saying shit.