61

Understanding Class Initialization in GraalVM Native Image Generation

 5 years ago
source link: https://medium.com/graalvm/understanding-class-initialization-in-graalvm-native-image-generation-d765b7e4d6ed
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
tl;dr: Classes reachable for a GraalVM native image are initialized at image build time. Objects allocated by class initializers are in the image heap that is part of the executable. The new option…

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK