Menu

Post image 1
Post image 2
1 / 2
0

JEP 544: Ahead-of-Time Code Compilation

Hacker News·26 days ago
#kHNL53NJ
Reading 0:00
15s threshold

Summary Improve startup and warmup time by making optimized native code for an application instantly available when the HotSpot Java Virtual Machine starts. Achieve this by compiling application code to native code in a training run, storing the native code in the AOT cache for use in subsequent production runs. If the workload changes in production, regenerate native code dynamically for continued peak performance, providing the best of both ahead-of-time (AOT) and just-in-time (JIT) compilation. Goals Enable applications to achieve peak performance more quickly. Enable applications to sustain peak performance even as workloads change. Do not require any change to the code of applications, libraries, or frameworks. Do not require any change to the configuration of HotSpot, beyond requesting the use of the AOT cache. Continue to support the Serial, Parallel, G1, and ZGC garbage collectors . Do not introduce new AOT workflows, but, rather, extend the existing AOT cache creation workflow .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More