-
Enhancement
-
Resolution: Won't Fix
-
P3
-
9, 10, 11, 12, 13, 14, 15, 16
-
generic
-
generic
For jdk 9 release the same java runtime configuration should be used during AOT compilation and execution. For example, jaotc tool should be run with Parallel GC if application will use it:
jaotc -J-XX:+UseParallelGC --output libHelloWorld.so HelloWorld.class
java -XX:+UseParallelGC -XX:AOTLibrary=./libHelloWorld.so HelloWorld
Instead of such limitation we should specify for which runtime configuration compilation should be done regardless what is used to execute jaotc.
New flag should be added to list configuration:
—jvmconfig=G1,COOP,DEBUG
jaotc -J-XX:+UseParallelGC --output libHelloWorld.so HelloWorld.class
java -XX:+UseParallelGC -XX:AOTLibrary=./libHelloWorld.so HelloWorld
Instead of such limitation we should specify for which runtime configuration compilation should be done regardless what is used to execute jaotc.
New flag should be added to list configuration:
—jvmconfig=G1,COOP,DEBUG
- duplicates
-
JDK-8207360 [AOT] JVM crashes in runtime/SharedArchiveFile/TestInterpreterMethodEntries.java
-
- Closed
-
-
JDK-8171052 [AOT] Support cross-compilation
-
- Closed
-
- relates to
-
JDK-8172099 jaotc might produce library with non-deterministic settings
-
- Closed
-
-
JDK-8166089 JEP 295: Ahead-of-Time Compilation
-
- Closed
-