Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Don't think there's anything in 9 for JIT caching unless I missed it - do you have a reference? JIT caching is non trivial problem for Hotspot due to the nature of speculative optimization, so it may take quite some time for that to appear. Having said that, Azul has some form of it in its ReadyNow feature, but I don't know the details.

I think likely some form of AOT will be needed.



It's related to Project Jigsaw, but I don't know if it's actually scheduled for Java 9. I assumed the idea is to cache C1 output, not C2. I think I saw it in one of Paul Sandoz's videos. I'll look for it, and if I can't find it, I'll ask Paul.


Yes there is, the JEP 197 - Segmented Code Cache.

http://openjdk.java.net/jeps/197

This is just the early work to be improved in later versions.

However there are commercial JVMs, like J9 that already do JIT caching.


Segmented Code Cache has nothing to do with JIT caching. Or rather, it has as much to do with it as the existing homogenous code cache.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: