Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
========================================================================================================================
GraalVM Native Image: Generating 'petclinic-jpa' (executable)...
========================================================================================================================
[1/7] Initializing... (12.2s @ 0.47GB)
Version info: 'GraalVM 22.2.0 Java 17 EE'
Java version info: '17.0.4+11-LTS-jvmci-22.2-b05'
C compiler: gcc (linux, x86_64, 9.4.0)
Garbage collector: Serial GC
[2/7] Performing analysis... [*********] (67.5s @ 1.92GB)
26,184 (94.56%) of 27,689 classes reachable
42,026 (68.44%) of 61,409 fields reachable
140,935 (67.78%) of 207,928 methods reachable
1,397 classes, 415 fields, and 7,894 methods registered for reflection
65 classes, 74 fields, and 55 methods registered for JNI access
4 native libraries: dl, pthread, rt, z
[3/7] Building universe... (56.5s @ 1.95GB)
[4/7] Parsing methods... [***] (5.9s @ 1.48GB)
[5/7] Inlining methods... [****] (2.4s @ 1.55GB)
[6/7] Compiling methods... [****] (19.4s @ 1.74GB)
[7/7] Creating image... (8.4s @ 1.68GB)
43.28MB (45.39%) for code area: 97,635 compilation units
47.41MB (49.73%) for image heap: 579,002 objects and 835 resources
4.65MB ( 4.87%) for other data
95.34MB in total
------------------------------------------------------------------------------------------------------------------------
Top 10 packages in code area: Top 10 object types in image heap:
3.21MB com.oracle.svm.core.code 9.99MB byte[] for code metadata
1.20MB jdk.proxy4 9.00MB byte[] for embedded resources
1.06MB sun.security.ssl 5.83MB byte[] for java.lang.String
878.77KB java.util 4.73MB java.lang.Class
814.08KB com.mysql.cj.jdbc 4.22MB java.lang.String
555.53KB org.hibernate.hql.internal.antlr 3.53MB byte[] for general heap data
488.76KB org.apache.coyote.http2 1.65MB byte[] for reflection metadata
476.47KB org.apache.catalina.core 1.20MB com.oracle.svm.core.hub.DynamicHubCompanion
465.88KB java.lang.invoke 725.72KB c.o.svm.core.hub.DynamicHub$ReflectionMetadata
460.78KB com.sun.crypto.provider 599.67KB java.lang.String[]
33.08MB for 1101 more packages 5.06MB for 4765 more object types
------------------------------------------------------------------------------------------------------------------------
77.2s (42.7% of total time) in 306 GCs | Peak RSS: 3.42GB | CPU load: 9.52
------------------------------------------------------------------------------------------------------------------------
Produced artifacts:
/home/janedoe/demos/spring-native/samples/petclinic-jpa/target/petclinic-jpa (executable)
/home/janedoe/demos/spring-native/samples/petclinic-jpa/target/petclinic-jpa.build_artifacts.txt (txt)
========================================================================================================================
Finished generating 'petclinic-jpa' in 3m 0s.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment