Sure, with Open JDK
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-applica...
For OpenJ9,
https://developer.ibm.com/articles/optimize-jvm-startup-with...
On Android, ART does it automatically since Android 7,
Ya, 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.
Can you link to something or explain how to use JIT caches?