I have already known there is a "dynamic AOT" in Openj9, where Openjdk9 has a AOT compiler (jaotc) to compile byte code to shared library.
But Openj9 doesn't have program like jaotc, it uses "shared classes" to store JITed code, which is expected to be used by the other JVMs to speed up their startup time.
I have the following questions:
- How do I make sure whether Openj9 JVM use JITed code produced by another JVM? (In openjdk9, there is an option "-XX:+PrintAOT" to observe)
- How to use the AOT of Openj9? I execute a program with option "-Xshareclasses", and just execute this program again?
- Is there any document about Openj9 AOT?
It will be appreciated if any advice. Thanks!