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.
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.
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.
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.
Whoa! RUclips's interactive transcript mode is awesome! XD
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.
I've observed several errors in the transcript. Is there a feedback method to report these errors for correction?
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.
Your comment doesn't really make sense. What about "high end" programs make it run slower with JIT on?
"ask questions on Google Wave"
haha
kindle with 2.1 Eclair with JIT enabled is useless.
5:21 "its really a smallish amount of code"
Lol. Pretend he is saying shit.