Questions tagged [java-aot]
4 questions
44
votes
1 answer
JEP 295 AOT: Objects compiled multiple times
I am trying to compile an application server with JDK9's new AOT feature, and am facing a number of challenges.
The appserver consists of ~180 MB jars; compiling that together overflows integer so I've tried to compile each module to one (.so)…

Radim Vansa
- 5,686
- 2
- 25
- 40
6
votes
1 answer
Is Ahead-Of-Time compilation available in Java 9?
As per JEP 295
AOT compilation of any JDK modules, classes, or of user code, is experimental and not supported in JDK 9.
To use the AOTed java.base module, the user will have to compile the module and copy the resulting AOT library into the JDK…

Mohit Tyagi
- 2,788
- 4
- 17
- 29
4
votes
1 answer
Can you use jaotc (Java Ahead-of-Time Compiler) with jlink (module assembler/optimizer to create runtime images)?
The goal here is to:
Create a runtime image that has it's own stripped down JRE (minimize size) - this is what jlink gives us
Create natively executable libraries instead of using byte code (improve load times and hopefully remove the need to…

Sooth
- 2,834
- 23
- 26
1
vote
1 answer
Failed to create oat file
I develop an app that intent to Camera application to take picture and save it.
but my problem is :
sometimes after picture taken and my app called ,my application crashed(without onActivityResult() called).
my application use multidex and I can't…

Amir133
- 2,372
- 2
- 18
- 34