3 ms·
I've used native compilation with Graal, but everytime I tried a cache option or some of the OpenJDK AOT I couldn't figure it out. Can you link to something or
by didibus 4y ago
I've used native compilation with Graal, but everytime I tried a cache option or some of the OpenJDK AOT I couldn't figure it out.
Can you link to something or explain how to use JIT caches?
- pjmlp 4y agoSure, with Open JDK https://docs.oracle.com/en/java/javase/18/vm/class-data-sharing.html https://docs.oracle.com/en/java/javase/18/vm/class-data-shar... Or how to use it alongside Spring, https://medium.com/@toparvion/appcds-for-spring-boot-applications-first-contact-6216db6a4194 https://medium.com/@toparvion/appcds-for-spring-boot-applica... For OpenJ9, https://developer.ibm.com/articles/optimize-jvm-startup-with-eclipse-openjj9/ https://developer.ibm.com/articles/optimize-jvm-startup-with... On Android, ART does it automatically since Android 7, https://source.android.com/devices/tech/dalvik/jit-compiler https://source.android.com/devices/tech/dalvik/jit-compiler
- didibus 4y agoYa, the AppCD for OpenJDK is what I was trying last time, I think on JDK 11, and frankly I couldn't figure it out, like you have to run with a command, dump something to some path, then re-run with specifying the same path and I don't know it didn't seem it was working last time and it was pretty cumbersome.