30 ms·
Its possible but the platform would have to support it, ie UEFI etc. Some arm CPUs did have a mode that ran Java bytecode natively but it was slower than the j
by throwaway48476 2y ago
Its possible but the platform would have to support it, ie UEFI etc.
Some arm CPUs did have a mode that ran Java bytecode natively but it was slower than the jvm.
https://en.wikipedia.org/wiki/Jazelle https://en.wikipedia.org/wiki/Jazelle
- mosura 2y agoThese often repeated notions about Jazelle make little sense. J2ME code for Jazelle based feature phones (with appropriate VMs) was noticeably faster than otherwise, to the point Android raw Java performance did not catch up for a really long time. If you have loads of RAM to JIT later then . . . good, but that didn’t arrive for years after the fact.
- grishka 2y agoAndroid ended up doing AOT (the infamous "optimizing apps" step on boot). The modern versions, iirc, have a hybrid approach, interpreting and JITing for newly installed apps but still AOT compiling while the device is charging.