4 ms·
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
by vitalyd 11y ago
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.
- pjmlp 11y agoYes there is, the JEP 197 - Segmented Code Cache. http://openjdk.java.net/jeps/197 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.
- vitalyd 11y agoSegmented 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.
- pron 11y agoIt'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.