11 ms·
Some ARM devices can execute Java bytecode directly: https://en.wikipedia.org/wiki/Jazelle https://en.wikipedia.org/wiki/Jazelle It never really took off.
by pjc50 9y ago
Some ARM devices can execute Java bytecode directly: https://en.wikipedia.org/wiki/Jazelle https://en.wikipedia.org/wiki/Jazelle
It never really took off.
- gok 9y agoIt was kind of a half baked idea. At best, it could lower the small overhead of the interpreter loop for a subset of Java bytecodes. At some point you’d need a JIT to get better performance, and that JIT would want to target real ARM code (so you can do things like register allocation) One cool thing about Java on little processors is that you can get memory safety without an MMU. But again at some point you’re going to want an MMU anyway...
- pjmlp 9y agoThat is the whole premises of language OSes, type safety over MMU. But it is as you say, given enough memory to manage or the usual performance tricks for GC/JIT, and the MMU will be needed.
- gh02t 9y agoFrom the Wiki page, if people are wondering why it never took off: > The published specifications are very incomplete, being only sufficient for writing operating system code that can support a JVM that uses Jazelle. The declared intent is that only the JVM software needs to (or is allowed to) depend on the hardware interface details. This tight binding facilitates that the hardware and JVM can evolve together without affecting other software. In effect, this gives ARM Holdings considerable control over which JVMs are able to exploit Jazelle. It also prevents open source JVMs from using Jazelle. So it sounds like ARM tried (presumably) to leverage it to make some profit off of support agreements, but ended up falling on their own sword.