5 ms·
OpenJDK's AOT compiler, when you also allow it to include the JIT and still recompile hotspots, is about 5% slower than just using the JIT. The only reasons to
by amaranth 9y ago
OpenJDK's AOT compiler, when you also allow it to include the JIT and still recompile hotspots, is about 5% slower than just using the JIT. The only reasons to use it are startup times, ease of distribution (no JVM to ship, sort of), and for use in places that don't allow JITs (iOS).
- pjmlp 9y agoOpenJDK's AOT is also on its early days. Have you ever profiled Excelsior JET, Aonix, Jamaica, IBM Websphere Real Time for example? Their products are almost as old as Java, so I imagine they are worth their price.
- amaranth 9y agoI believe those products prohibit doing public benchmarking so even if I had I couldn't tell you the results. :)
- pjmlp 9y agoHowever if they were really bad, they would have already disbanded the teams, because companies would just use the gratis JDK with pure JIT. Regarding OpenJDK, according to the Java Languages Summit talk, the Java 10 dev branch already has better optimizations than version 9.