oracle / graal

GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
https://www.graalvm.org
Other
20.39k stars 1.64k forks source link

Build a spring boot3 project with hibernate-search and lucene backend, throw a 'undefined reference' error #8526

Closed DarkDance closed 8 months ago

DarkDance commented 8 months ago

Describe the issue When build a spring boot3 native image just with dependency 'hibernate-search-mapper-orm' is ok, bug add one more dependency 'hibernate-search-backend-lucene' , native build throw undefined reference to `Java_jdk_internal_misc_ScopedMemoryAccess_closeScope0' error

Steps to reproduce the issue Please include both build steps as well as run steps

  1. git clone https://github.com/DarkDance/SpringBoot3WithAOP.git
  2. mvn -Pnative clean native:compile -f pom.xml

Describe GraalVM and your environment:

GraalVM Native Image Error Report

Build Output

========================================================================================================================
GraalVM Native Image: Generating 'springboot3withaop' (executable)...
========================================================================================================================
[1/8] Initializing...                                                                                   (12.7s @ 0.24GB)
 Java version: 21.0.2+13-LTS, vendor version: Oracle GraalVM 21.0.2+13.1
 Graal compiler: optimization level: 2, target machine: x86-64-v3, PGO: ML-inferred
 C compiler: gcc (linux, x86_64, 11.4.0)
 Garbage collector: Serial GC (max heap size: 80% of RAM)
 3 user-specific feature(s):
 - com.oracle.svm.thirdparty.gson.GsonFeature
 - org.eclipse.angus.activation.nativeimage.AngusActivationFeature
 - org.springframework.aot.nativex.feature.PreComputeFieldFeature
------------------------------------------------------------------------------------------------------------------------
 2 experimental option(s) unlocked:
 - '-H:ResourceConfigurationResources' (origin(s): 'META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-core/native-image.properties' in 'file:///mnt/d/Program_Files/apache/maven/repository/org/apache/tomcat/embed/tomcat-embed-core/10.1.19/tomcat-embed-core-10.1.19.jar', 'META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-el/native-image.properties' in 'file:///mnt/d/Program_Files/apache/maven/repository/org/apache/tomcat/embed/tomcat-embed-el/10.1.19/tomcat-embed-el-10.1.19.jar', 'META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-websocket/native-image.properties' in 'file:///mnt/d/Program_Files/apache/maven/repository/org/apache/tomcat/embed/tomcat-embed-websocket/10.1.19/tomcat-embed-websocket-10.1.19.jar')
 - '-H:ReflectionConfigurationResources' (origin(s): 'META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-core/native-image.properties' in 'file:///mnt/d/Program_Files/apache/maven/repository/org/apache/tomcat/embed/tomcat-embed-core/10.1.19/tomcat-embed-core-10.1.19.jar', 'META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-el/native-image.properties' in 'file:///mnt/d/Program_Files/apache/maven/repository/org/apache/tomcat/embed/tomcat-embed-el/10.1.19/tomcat-embed-el-10.1.19.jar', 'META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-websocket/native-image.properties' in 'file:///mnt/d/Program_Files/apache/maven/repository/org/apache/tomcat/embed/tomcat-embed-websocket/10.1.19/tomcat-embed-websocket-10.1.19.jar')
------------------------------------------------------------------------------------------------------------------------
Build resources:
 - 12.61GB of memory (81.3% of 15.52GB system memory, determined at start)
 - 20 thread(s) (100.0% of 20 available processor(s), determined at start)
[2/8] Performing analysis...  [

[2/8] Performing analysis...  [******]                                                                  (39.8s @ 3.70GB)
   36,088 reachable types   (92.4% of   39,061 total)
   58,104 reachable fields  (66.8% of   86,936 total)
  193,017 reachable methods (64.9% of  297,375 total)
   10,887 types,   695 fields, and 11,917 methods registered for reflection
       65 types,    67 fields, and    57 methods registered for JNI access
        4 native libraries: dl, pthread, rt, z
[3/8] Building universe...                                                                               (9.7s @ 4.21GB)
[4/8] Parsing methods...      [***]                                                                     (10.1s @ 4.36GB)
[5/8] Inlining methods...     [****]                                                                     (1.3s @ 3.77GB)
[6/8] Compiling methods...    [*******]                                                                 (57.3s @ 4.49GB)
[7/8] Layouting methods...    [***]                                                                     (11.1s @ 6.82GB)
[8/8] Creating image...       [***
]                                                                      (0.0s @ 4.37GB)

Stack Trace

java.lang.RuntimeException: There was an error linking the native image: Linker command exited with 1

Linker command executed:
/usr/bin/gcc -z noexecstack -Wl,--gc-sections -Wl,--version-script,/tmp/SVM-8159870252336156575/exported_symbols.list -Wl,-x -o /data/spring_native_test/SpringBoot3WithAOP/target/springboot3withaop springboot3withaop.o /data/graalvm-jdk21/lib/svm/clibraries/linux-amd64/liblibchelper.a /data/graalvm-jdk21/lib/static/linux-amd64/glibc/libnet.a /data/graalvm-jdk21/lib/static/linux-amd64/glibc/libjaas.a /data/graalvm-jdk21/lib/static/linux-amd64/glibc/libextnet.a /data/graalvm-jdk21/lib/static/linux-amd64/glibc/libnio.a /data/graalvm-jdk21/lib/static/linux-amd64/glibc/libmanagement_ext.a /data/graalvm-jdk21/lib/static/linux-amd64/glibc/libjava.a /data/graalvm-jdk21/lib/static/linux-amd64/glibc/libzip.a /data/graalvm-jdk21/lib/svm/clibraries/linux-amd64/libjvm.a -Wl,--export-dynamic -v -L/tmp/SVM-8159870252336156575 -L/data/graalvm-jdk21/lib/static/linux-amd64/glibc -L/data/graalvm-jdk21/lib/svm/clibraries/linux-amd64 -lz -ldl -lpthread -lrt -Wl,-u,JNU_CallMethodByName -Wl,-u,JNU_CallStaticMethodByName -Wl,-u,JNU_GetEnv -Wl,-u,JNU_GetStaticFieldByName -Wl,-u,JNU_GetStringPlatformChars -Wl,-u,JNU_IsInstanceOfByName -Wl,-u,JNU_NewObjectByName -Wl,-u,JNU_NewStringPlatform -Wl,-u,JNU_ReleaseStringPlatformChars -Wl,-u,JNU_SetFieldByName -Wl,-u,JNU_ThrowArrayIndexOutOfBoundsException -Wl,-u,JNU_ThrowByName -Wl,-u,JNU_ThrowIllegalArgumentException -Wl,-u,JNU_ThrowInternalError -Wl,-u,JNU_ThrowNullPointerException -Wl,-u,JNU_ThrowOutOfMemoryError -Wl,-u,JNI_CreateJavaVM -Wl,-u,JNI_GetCreatedJavaVMs -Wl,-u,JNI_GetDefaultJavaVMInitArgs -Wl,-u,jio_fprintf -Wl,-u,jio_snprintf

Linker command output:
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) 
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-z' 'noexecstack' '-o' '/data/spring_native_test/SpringBoot3WithAOP/target/springboot3withaop' '-v' '-L/tmp/SVM-8159870252336156575' '-L/data/graalvm-jdk21/lib/static/linux-amd64/glibc' '-L/data/graalvm-jdk21/lib/svm/clibraries/linux-amd64' '-mtune=generic' '-march=x86-64' '-dumpdir' '/data/spring_native_test/SpringBoot3WithAOP/target/springboot3withaop.'
 /usr/lib/gcc/x86_64-linux-gnu/11/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/ccesSf9c.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o /data/spring_native_test/SpringBoot3WithAOP/target/springboot3withaop -z noexecstack /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/tmp/SVM-8159870252336156575 -L/data/graalvm-jdk21/lib/static/linux-amd64/glibc -L/data/graalvm-jdk21/lib/svm/clibraries/linux-amd64 -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. --gc-sections --version-script /tmp/SVM-8159870252336156575/exported_symbols.list -x springboot3withaop.o /data/graalvm-jdk21/lib/svm/clibraries/linux-amd64/liblibchelper.a /data/graalvm-jdk21/lib/static/linux-amd64/glibc/libnet.a /data/graalvm-jdk21/lib/static/linux-amd64/glibc/libjaas.a /data/graalvm-jdk21/lib/static/linux-amd64/glibc/libextnet.a /data/graalvm-jdk21/lib/static/linux-amd64/glibc/libnio.a /data/graalvm-jdk21/lib/static/linux-amd64/glibc/libmanagement_ext.a /data/graalvm-jdk21/lib/static/linux-amd64/glibc/libjava.a /data/graalvm-jdk21/lib/static/linux-amd64/glibc/libzip.a /data/graalvm-jdk21/lib/svm/clibraries/linux-amd64/libjvm.a --export-dynamic -lz -ldl -lpthread -lrt -u JNU_CallMethodByName -u JNU_CallStaticMethodByName -u JNU_GetEnv -u JNU_GetStaticFieldByName -u JNU_GetStringPlatformChars -u JNU_IsInstanceOfByName -u JNU_NewObjectByName -u JNU_NewStringPlatform -u JNU_ReleaseStringPlatformChars -u JNU_SetFieldByName -u JNU_ThrowArrayIndexOutOfBoundsException -u JNU_ThrowByName -u JNU_ThrowIllegalArgumentException -u JNU_ThrowInternalError -u JNU_ThrowNullPointerException -u JNU_ThrowOutOfMemoryError -u JNI_CreateJavaVM -u JNI_GetCreatedJavaVMs -u JNI_GetDefaultJavaVMInitArgs -u jio_fprintf -u jio_snprintf -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o
/usr/bin/ld: springboot3withaop.o: warning: relocation in read-only section `.svm_heap'
/usr/bin/ld: springboot3withaop.o:(.data+0xc48): undefined reference to `Java_jdk_internal_misc_ScopedMemoryAccess_closeScope0'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
    at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.image.NativeImageViaCC.handleLinkerFailure(NativeImageViaCC.java:202)
    at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.image.NativeImageViaCC.runLinkerCommand(NativeImageViaCC.java:152)
    at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.image.NativeImageViaCC.write(NativeImageViaCC.java:118)
    at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:741)
    at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:550)
    at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:539)
    at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:721)
    at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.start(NativeImageGeneratorRunner.java:143)
    at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:98)

GraalVM Setup

Name Value
Java version 21.0.2+13-LTS
Vendor version Oracle GraalVM 21.0.2+13.1
Runtime version 21.0.2+13-LTS-jvmci-23.1-b30
C compiler gcc (linux, x86_64, 11.4.0)
GraalVM release file ``` IMPLEMENTOR="Oracle Corporation" JAVA_RUNTIME_VERSION="21.0.2+13-LTS-jvmci-23.1-b30" JAVA_VERSION="21.0.2" JAVA_VERSION_DATE="2024-01-16" LIBC="gnu" MODULES="java.base java.logging java.management jdk.internal.vm.ci jdk.unsupported org.graalvm.collections jdk.management org.graalvm.truffle.compiler org.graalvm.word jdk.internal.vm.compiler com.oracle.graal.graal_enterprise org.graalvm.nativeimage com.oracle.svm.enterprise.truffle com.oracle.svm.extraimage_enterprise java.compiler java.datatransfer java.xml java.prefs java.desktop java.instrument java.security.sasl java.naming java.rmi java.management.rmi java.net.http java.scripting java.security.jgss java.transaction.xa java.sql java.sql.rowset java.xml.crypto java.se java.smartcardio jdk.accessibility jdk.internal.jvmstat jdk.attach jdk.charsets jdk.internal.opt jdk.zipfs jdk.compiler jdk.crypto.ec jdk.crypto.cryptoki jdk.dynalink jdk.internal.ed jdk.editpad jdk.hotspot.agent jdk.httpserver jdk.incubator.vector jdk.internal.le jdk.internal.vm.compiler.management jdk.jartool jdk.javadoc jdk.jcmd jdk.management.agent jdk.jconsole jdk.jdeps jdk.jdwp.agent jdk.jdi jdk.jfr jdk.jlink jdk.jpackage jdk.jshell jdk.jsobject jdk.jstatd jdk.localedata jdk.management.jfr jdk.naming.dns jdk.naming.rmi jdk.net jdk.nio.mapmode jdk.random jdk.sctp jdk.security.auth jdk.security.jgss jdk.unsupported.desktop jdk.xml.dom org.graalvm.extraimage.builder" OS_ARCH="x86_64" OS_NAME="Linux" SOURCE=".:git:9933a6e2e787 open:git:d58f4122f9a7 labsjdk-builder:07d980917985b9067e6d9d258780bd30dfbf8445 compiler:ae4900070c090467b487e02c766784632ad72a10 graal-enterprise:841f4230200f547634e0ba391c03349e24c81ff5 graal-microservices:841f4230200f547634e0ba391c03349e24c81ff5 java-benchmarks:ae4900070c090467b487e02c766784632ad72a10 regex:ae4900070c090467b487e02c766784632ad72a10 sdk:ae4900070c090467b487e02c766784632ad72a10 substratevm:ae4900070c090467b487e02c766784632ad72a10 substratevm-enterprise:841f4230200f547634e0ba391c03349e24c81ff5 substratevm-enterprise-gcs:0e8098cc7329bdee0fb1edd7a6e25cc8759f1b1f tools:ae4900070c090467b487e02c766784632ad72a10 truffle:ae4900070c090467b487e02c766784632ad72a10 vm:ae4900070c090467b487e02c766784632ad72a10 vm-enterprise:841f4230200f547634e0ba391c03349e24c81ff5" GRAALVM_VERSION="23.1.2" COMMIT_INFO={"compiler": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1704627650, "commit.rev": "ae4900070c090467b487e02c766784632ad72a10"}, "graal-enterprise": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1704627901, "commit.rev": "841f4230200f547634e0ba391c03349e24c81ff5"}, "graal-microservices": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1704627901, "commit.rev": "841f4230200f547634e0ba391c03349e24c81ff5"}, "java-benchmarks": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1704627650, "commit.rev": "ae4900070c090467b487e02c766784632ad72a10"}, "regex": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1704627650, "commit.rev": "ae4900070c090467b487e02c766784632ad72a10"}, "sdk": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1704627650, "commit.rev": "ae4900070c090467b487e02c766784632ad72a10"}, "substratevm": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1704627650, "commit.rev": "ae4900070c090467b487e02c766784632ad72a10"}, "substratevm-enterprise": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1704627901, "commit.rev": "841f4230200f547634e0ba391c03349e24c81ff5"}, "substratevm-enterprise-gcs": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1702655645, "commit.rev": "0e8098cc7329bdee0fb1edd7a6e25cc8759f1b1f"}, "tools": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1704627650, "commit.rev": "ae4900070c090467b487e02c766784632ad72a10"}, "truffle": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1704627650, "commit.rev": "ae4900070c090467b487e02c766784632ad72a10"}, "vm": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1704627650, "commit.rev": "ae4900070c090467b487e02c766784632ad72a10"}, "vm-enterprise": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1704627901, "commit.rev": "841f4230200f547634e0ba391c03349e24c81ff5"}} ```

Builder Setup

Class path ``` /data/spring_native_test/SpringBoot3WithAOP/target/classes /mnt/d/Program_Files/apache/maven/repository/org/springframework/boot/spring-boot-starter-web/3.2.3/spring-boot-starter-web-3.2.3.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/boot/spring-boot-starter/3.2.3/spring-boot-starter-3.2.3.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/boot/spring-boot/3.2.3/spring-boot-3.2.3.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/boot/spring-boot-autoconfigure/3.2.3/spring-boot-autoconfigure-3.2.3.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/boot/spring-boot-starter-logging/3.2.3/spring-boot-starter-logging-3.2.3.jar /mnt/d/Program_Files/apache/maven/repository/ch/qos/logback/logback-classic/1.4.14/logback-classic-1.4.14.jar /mnt/d/Program_Files/apache/maven/repository/ch/qos/logback/logback-core/1.4.14/logback-core-1.4.14.jar /mnt/d/Program_Files/apache/maven/repository/org/apache/logging/log4j/log4j-to-slf4j/2.21.1/log4j-to-slf4j-2.21.1.jar /mnt/d/Program_Files/apache/maven/repository/org/apache/logging/log4j/log4j-api/2.21.1/log4j-api-2.21.1.jar /mnt/d/Program_Files/apache/maven/repository/org/slf4j/jul-to-slf4j/2.0.12/jul-to-slf4j-2.0.12.jar /mnt/d/Program_Files/apache/maven/repository/jakarta/annotation/jakarta.annotation-api/2.1.1/jakarta.annotation-api-2.1.1.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/spring-core/6.1.4/spring-core-6.1.4.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/spring-jcl/6.1.4/spring-jcl-6.1.4.jar /mnt/d/Program_Files/apache/maven/repository/org/yaml/snakeyaml/2.2/snakeyaml-2.2.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/boot/spring-boot-starter-json/3.2.3/spring-boot-starter-json-3.2.3.jar /mnt/d/Program_Files/apache/maven/repository/com/fasterxml/jackson/core/jackson-databind/2.15.4/jackson-databind-2.15.4.jar /mnt/d/Program_Files/apache/maven/repository/com/fasterxml/jackson/core/jackson-annotations/2.15.4/jackson-annotations-2.15.4.jar /mnt/d/Program_Files/apache/maven/repository/com/fasterxml/jackson/core/jackson-core/2.15.4/jackson-core-2.15.4.jar /mnt/d/Program_Files/apache/maven/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.15.4/jackson-datatype-jdk8-2.15.4.jar /mnt/d/Program_Files/apache/maven/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.15.4/jackson-datatype-jsr310-2.15.4.jar /mnt/d/Program_Files/apache/maven/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.15.4/jackson-module-parameter-names-2.15.4.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/boot/spring-boot-starter-tomcat/3.2.3/spring-boot-starter-tomcat-3.2.3.jar /mnt/d/Program_Files/apache/maven/repository/org/apache/tomcat/embed/tomcat-embed-core/10.1.19/tomcat-embed-core-10.1.19.jar /mnt/d/Program_Files/apache/maven/repository/org/apache/tomcat/embed/tomcat-embed-el/10.1.19/tomcat-embed-el-10.1.19.jar /mnt/d/Program_Files/apache/maven/repository/org/apache/tomcat/embed/tomcat-embed-websocket/10.1.19/tomcat-embed-websocket-10.1.19.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/spring-web/6.1.4/spring-web-6.1.4.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/spring-beans/6.1.4/spring-beans-6.1.4.jar /mnt/d/Program_Files/apache/maven/repository/io/micrometer/micrometer-observation/1.12.3/micrometer-observation-1.12.3.jar /mnt/d/Program_Files/apache/maven/repository/io/micrometer/micrometer-commons/1.12.3/micrometer-commons-1.12.3.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/spring-webmvc/6.1.4/spring-webmvc-6.1.4.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/spring-aop/6.1.4/spring-aop-6.1.4.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/spring-context/6.1.4/spring-context-6.1.4.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/spring-expression/6.1.4/spring-expression-6.1.4.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/boot/spring-boot-starter-data-jpa/3.2.3/spring-boot-starter-data-jpa-3.2.3.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/boot/spring-boot-starter-aop/3.2.3/spring-boot-starter-aop-3.2.3.jar /mnt/d/Program_Files/apache/maven/repository/org/aspectj/aspectjweaver/1.9.21/aspectjweaver-1.9.21.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/boot/spring-boot-starter-jdbc/3.2.3/spring-boot-starter-jdbc-3.2.3.jar /mnt/d/Program_Files/apache/maven/repository/com/zaxxer/HikariCP/5.0.1/HikariCP-5.0.1.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/spring-jdbc/6.1.4/spring-jdbc-6.1.4.jar /mnt/d/Program_Files/apache/maven/repository/org/hibernate/orm/hibernate-core/6.4.2.Final/hibernate-core-6.4.2.Final.jar /mnt/d/Program_Files/apache/maven/repository/com/fasterxml/classmate/1.6.0/classmate-1.6.0.jar /mnt/d/Program_Files/apache/maven/repository/net/bytebuddy/byte-buddy/1.14.12/byte-buddy-1.14.12.jar /mnt/d/Program_Files/apache/maven/repository/org/glassfish/jaxb/jaxb-runtime/4.0.4/jaxb-runtime-4.0.4.jar /mnt/d/Program_Files/apache/maven/repository/org/glassfish/jaxb/jaxb-core/4.0.4/jaxb-core-4.0.4.jar /mnt/d/Program_Files/apache/maven/repository/org/eclipse/angus/angus-activation/2.0.1/angus-activation-2.0.1.jar /mnt/d/Program_Files/apache/maven/repository/org/glassfish/jaxb/txw2/4.0.4/txw2-4.0.4.jar /mnt/d/Program_Files/apache/maven/repository/com/sun/istack/istack-commons-runtime/4.1.2/istack-commons-runtime-4.1.2.jar /mnt/d/Program_Files/apache/maven/repository/jakarta/inject/jakarta.inject-api/2.0.1/jakarta.inject-api-2.0.1.jar /mnt/d/Program_Files/apache/maven/repository/org/antlr/antlr4-runtime/4.13.0/antlr4-runtime-4.13.0.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/data/spring-data-jpa/3.2.3/spring-data-jpa-3.2.3.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/data/spring-data-commons/3.2.3/spring-data-commons-3.2.3.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/spring-orm/6.1.4/spring-orm-6.1.4.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/spring-tx/6.1.4/spring-tx-6.1.4.jar /mnt/d/Program_Files/apache/maven/repository/org/slf4j/slf4j-api/2.0.12/slf4j-api-2.0.12.jar /mnt/d/Program_Files/apache/maven/repository/org/springframework/spring-aspects/6.1.4/spring-aspects-6.1.4.jar /mnt/d/Program_Files/apache/maven/repository/com/h2database/h2/2.2.224/h2-2.2.224.jar /mnt/d/Program_Files/apache/maven/repository/org/hibernate/search/hibernate-search-mapper-orm/7.0.0.Final/hibernate-search-mapper-orm-7.0.0.Final.jar /mnt/d/Program_Files/apache/maven/repository/org/hibernate/search/hibernate-search-engine/7.0.0.Final/hibernate-search-engine-7.0.0.Final.jar /mnt/d/Program_Files/apache/maven/repository/org/hibernate/search/hibernate-search-mapper-pojo-base/7.0.0.Final/hibernate-search-mapper-pojo-base-7.0.0.Final.jar /mnt/d/Program_Files/apache/maven/repository/org/hibernate/search/hibernate-search-util-common/7.0.0.Final/hibernate-search-util-common-7.0.0.Final.jar /mnt/d/Program_Files/apache/maven/repository/jakarta/persistence/jakarta.persistence-api/3.1.0/jakarta.persistence-api-3.1.0.jar /mnt/d/Program_Files/apache/maven/repository/jakarta/transaction/jakarta.transaction-api/2.0.1/jakarta.transaction-api-2.0.1.jar /mnt/d/Program_Files/apache/maven/repository/org/hibernate/common/hibernate-commons-annotations/6.0.6.Final/hibernate-commons-annotations-6.0.6.Final.jar /mnt/d/Program_Files/apache/maven/repository/io/smallrye/jandex/3.1.2/jandex-3.1.2.jar /mnt/d/Program_Files/apache/maven/repository/org/jboss/logging/jboss-logging/3.5.3.Final/jboss-logging-3.5.3.Final.jar /mnt/d/Program_Files/apache/maven/repository/jakarta/xml/bind/jakarta.xml.bind-api/4.0.1/jakarta.xml.bind-api-4.0.1.jar /mnt/d/Program_Files/apache/maven/repository/jakarta/activation/jakarta.activation-api/2.1.2/jakarta.activation-api-2.1.2.jar /mnt/d/Program_Files/apache/maven/repository/org/hibernate/search/hibernate-search-backend-lucene/7.0.0.Final/hibernate-search-backend-lucene-7.0.0.Final.jar /mnt/d/Program_Files/apache/maven/repository/org/apache/lucene/lucene-core/9.8.0/lucene-core-9.8.0.jar /mnt/d/Program_Files/apache/maven/repository/org/apache/lucene/lucene-analysis-common/9.8.0/lucene-analysis-common-9.8.0.jar /mnt/d/Program_Files/apache/maven/repository/org/apache/lucene/lucene-queryparser/9.8.0/lucene-queryparser-9.8.0.jar /mnt/d/Program_Files/apache/maven/repository/org/apache/lucene/lucene-queries/9.8.0/lucene-queries-9.8.0.jar /mnt/d/Program_Files/apache/maven/repository/org/apache/lucene/lucene-join/9.8.0/lucene-join-9.8.0.jar /mnt/d/Program_Files/apache/maven/repository/org/apache/lucene/lucene-facet/9.8.0/lucene-facet-9.8.0.jar /mnt/d/Program_Files/apache/maven/repository/com/carrotsearch/hppc/0.9.1/hppc-0.9.1.jar /mnt/d/Program_Files/apache/maven/repository/org/apache/lucene/lucene-highlighter/9.8.0/lucene-highlighter-9.8.0.jar /mnt/d/Program_Files/apache/maven/repository/org/apache/lucene/lucene-memory/9.8.0/lucene-memory-9.8.0.jar ```
Module path ``` /data/graalvm-jdk21/lib/svm/graal-microservices.jar /data/graalvm-jdk21/lib/svm/library-support.jar /data/graalvm-jdk21/lib/svm/builder/native-image-base.jar /data/graalvm-jdk21/lib/svm/builder/svm-enterprise.jar /data/graalvm-jdk21/lib/svm/builder/pointsto.jar /data/graalvm-jdk21/lib/svm/builder/svm.jar /data/graalvm-jdk21/lib/svm/builder/objectfile.jar ```
Builder arguments ``` -H:CLibraryPath=/data/graalvm-jdk21/lib/svm/clibraries/linux-amd64 -H:Path@driver=/data/spring_native_test/SpringBoot3WithAOP/target -H:Class@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/com.oracle.db23c/SpringBoot3WithAOP/native-image.properties=com.oracle.db23c.springboot3withaop.SpringBoot3WithAopApplication -H:+ReportUnsupportedElementsAtRuntime@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/com.oracle.db23c/SpringBoot3WithAOP/native-image.properties+api -H:FallbackThreshold@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/com.oracle.db23c/SpringBoot3WithAOP/native-image.properties+api=0 -H:+InstallExitHandlers@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/com.oracle.db23c/SpringBoot3WithAOP/native-image.properties+api -H:JNIConfigurationResources@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/com.zaxxer/HikariCP/5.0.1/jni-config.json+api=META-INF/native-image/com.zaxxer/HikariCP/5.0.1/jni-config.json -H:ReflectionConfigurationResources@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/org.hibernate.orm/hibernate-core/6.4.2.Final/reflect-config.json+api=META-INF/native-image/org.hibernate.orm/hibernate-core/6.4.2.Final/reflect-config.json -H:ReflectionConfigurationResources@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/org.glassfish.jaxb/jaxb-runtime/4.0.4/reflect-config.json+api=META-INF/native-image/org.glassfish.jaxb/jaxb-runtime/4.0.4/reflect-config.json -H:ReflectionConfigurationResources@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/com.zaxxer/HikariCP/5.0.1/reflect-config.json+api=META-INF/native-image/com.zaxxer/HikariCP/5.0.1/reflect-config.json -H:ReflectionConfigurationResources@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/org.jboss.logging/jboss-logging/3.5.3.Final/reflect-config.json+api=META-INF/native-image/org.jboss.logging/jboss-logging/3.5.3.Final/reflect-config.json -H:ReflectionConfigurationResources@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-core/10.1.19/reflect-config.json+api=META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-core/10.1.19/reflect-config.json -H:ReflectionConfigurationResources@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/com.fasterxml.jackson.core/jackson-databind/2.15.4/reflect-config.json+api=META-INF/native-image/com.fasterxml.jackson.core/jackson-databind/2.15.4/reflect-config.json -H:ReflectionConfigurationResources@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/ch.qos.logback/logback-classic/1.4.14/reflect-config.json+api=META-INF/native-image/ch.qos.logback/logback-classic/1.4.14/reflect-config.json -H:ReflectionConfigurationResources@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/com.oracle.db23c/SpringBoot3WithAOP/reflect-config.json+api=META-INF/native-image/com.oracle.db23c/SpringBoot3WithAOP/reflect-config.json -H:ReflectionConfigurationResources@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/com.h2database/h2/2.2.224/reflect-config.json+api=META-INF/native-image/com.h2database/h2/2.2.224/reflect-config.json -H:ResourceConfigurationResources@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/org.hibernate.orm/hibernate-core/6.4.2.Final/resource-config.json+api=META-INF/native-image/org.hibernate.orm/hibernate-core/6.4.2.Final/resource-config.json -H:ResourceConfigurationResources@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/org.glassfish.jaxb/jaxb-runtime/4.0.4/resource-config.json+api=META-INF/native-image/org.glassfish.jaxb/jaxb-runtime/4.0.4/resource-config.json -H:ResourceConfigurationResources@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-core/10.1.19/resource-config.json+api=META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-core/10.1.19/resource-config.json -H:ResourceConfigurationResources@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/ch.qos.logback/logback-classic/1.4.14/resource-config.json+api=META-INF/native-image/ch.qos.logback/logback-classic/1.4.14/resource-config.json -H:ResourceConfigurationResources@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/com.oracle.db23c/SpringBoot3WithAOP/resource-config.json+api=META-INF/native-image/com.oracle.db23c/SpringBoot3WithAOP/resource-config.json -H:ResourceConfigurationResources@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/com.h2database/h2/2.2.224/resource-config.json+api=META-INF/native-image/com.h2database/h2/2.2.224/resource-config.json -H:DynamicProxyConfigurationResources@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/com.zaxxer/HikariCP/5.0.1/proxy-config.json+api=META-INF/native-image/com.zaxxer/HikariCP/5.0.1/proxy-config.json -H:DynamicProxyConfigurationResources@file:///data/spring_native_test/SpringBoot3WithAOP/target/classes/META-INF/native-image/com.oracle.db23c/SpringBoot3WithAOP/proxy-config.json+api=META-INF/native-image/com.oracle.db23c/SpringBoot3WithAOP/proxy-config.json -H:ClassInitialization@jar:file:///mnt/d/Program_Files/apache/maven/repository/org/springframework/spring-core/6.1.4/spring-core-6.1.4.jar!/META-INF/native-image/org.springframework/spring-core/native-image.properties+api=org.springframework.aot.nativex.feature.ThrowawayClassLoader:build_time -H:Features@jar:file:///mnt/d/Program_Files/apache/maven/repository/org/springframework/spring-core/6.1.4/spring-core-6.1.4.jar!/META-INF/native-image/org.springframework/spring-core/native-image.properties+api=org.springframework.aot.nativex.feature.PreComputeFieldFeature -H:ReflectionConfigurationResources@jar:file:///mnt/d/Program_Files/apache/maven/repository/org/apache/tomcat/embed/tomcat-embed-core/10.1.19/tomcat-embed-core-10.1.19.jar!/META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-core/native-image.properties=META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-core/tomcat-reflection.json -H:ResourceConfigurationResources@jar:file:///mnt/d/Program_Files/apache/maven/repository/org/apache/tomcat/embed/tomcat-embed-core/10.1.19/tomcat-embed-core-10.1.19.jar!/META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-core/native-image.properties=META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-core/tomcat-resource.json -H:ReflectionConfigurationResources@jar:file:///mnt/d/Program_Files/apache/maven/repository/org/apache/tomcat/embed/tomcat-embed-el/10.1.19/tomcat-embed-el-10.1.19.jar!/META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-el/native-image.properties=META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-el/tomcat-reflection.json -H:ResourceConfigurationResources@jar:file:///mnt/d/Program_Files/apache/maven/repository/org/apache/tomcat/embed/tomcat-embed-el/10.1.19/tomcat-embed-el-10.1.19.jar!/META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-el/native-image.properties=META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-el/tomcat-resource.json -H:ReflectionConfigurationResources@jar:file:///mnt/d/Program_Files/apache/maven/repository/org/apache/tomcat/embed/tomcat-embed-websocket/10.1.19/tomcat-embed-websocket-10.1.19.jar!/META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-websocket/native-image.properties=META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-websocket/tomcat-reflection.json -H:ResourceConfigurationResources@jar:file:///mnt/d/Program_Files/apache/maven/repository/org/apache/tomcat/embed/tomcat-embed-websocket/10.1.19/tomcat-embed-websocket-10.1.19.jar!/META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-websocket/native-image.properties=META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-websocket/tomcat-resource.json -H:EnableURLProtocols@jar:file:///mnt/d/Program_Files/apache/maven/repository/org/springframework/spring-web/6.1.4/spring-web-6.1.4.jar!/META-INF/native-image/org.springframework/spring-web/native-image.properties+api=http -H:EnableURLProtocols@jar:file:///mnt/d/Program_Files/apache/maven/repository/org/springframework/spring-web/6.1.4/spring-web-6.1.4.jar!/META-INF/native-image/org.springframework/spring-web/native-image.properties+api=https -H:Features@jar:file:///mnt/d/Program_Files/apache/maven/repository/org/eclipse/angus/angus-activation/2.0.1/angus-activation-2.0.1.jar!/META-INF/native-image/org.eclipse.angus/angus-activation/native-image.properties+api=org.eclipse.angus.activation.nativeimage.AngusActivationFeature -H:ClassInitialization@jar:file:///mnt/d/Program_Files/apache/maven/repository/org/eclipse/angus/angus-activation/2.0.1/angus-activation-2.0.1.jar!/META-INF/native-image/org.eclipse.angus/angus-activation/native-image.properties+api=org.eclipse.angus.activation.MailcapFile:build_time -H:ClassInitialization@jar:file:///mnt/d/Program_Files/apache/maven/repository/org/eclipse/angus/angus-activation/2.0.1/angus-activation-2.0.1.jar!/META-INF/native-image/org.eclipse.angus/angus-activation/native-image.properties+api=org.eclipse.angus.activation.LogSupport:build_time -H:ResourceConfigurationResources@jar:file:///mnt/d/Program_Files/apache/maven/repository/org/eclipse/angus/angus-activation/2.0.1/angus-activation-2.0.1.jar!/META-INF/native-image/org.eclipse.angus/angus-activation/resource-config.json+api=META-INF/native-image/org.eclipse.angus/angus-activation/resource-config.json -H:ReflectionConfigurationResources@jar:file:///mnt/d/Program_Files/apache/maven/repository/com/h2database/h2/2.2.224/h2-2.2.224.jar!/META-INF/native-image/reflect-config.json+api=META-INF/native-image/reflect-config.json -H:ResourceConfigurationResources@jar:file:///mnt/d/Program_Files/apache/maven/repository/com/h2database/h2/2.2.224/h2-2.2.224.jar!/META-INF/native-image/resource-config.json+api=META-INF/native-image/resource-config.json -H:FallbackThreshold@user+api=0 -H:Name@user+api=springboot3withaop -H:ConfigurationFileDirectories@user=/data/spring_native_test/SpringBoot3WithAOP/target/graalvm-reachability-metadata/2ab75423045307bba9c6868bc8bc980c1a8a3d57/org.apache.tomcat.embed/tomcat-embed-core/10.0.20,/data/spring_native_test/SpringBoot3WithAOP/target/graalvm-reachability-metadata/2ab75423045307bba9c6868bc8bc980c1a8a3d57/org.jboss.logging/jboss-logging/3.5.0.Final,/data/spring_native_test/SpringBoot3WithAOP/target/graalvm-reachability-metadata/2ab75423045307bba9c6868bc8bc980c1a8a3d57/com.h2database/h2/2.1.210,/data/spring_native_test/SpringBoot3WithAOP/target/graalvm-reachability-metadata/2ab75423045307bba9c6868bc8bc980c1a8a3d57/ch.qos.logback/logback-classic/1.4.1,/data/spring_native_test/SpringBoot3WithAOP/target/graalvm-reachability-metadata/2ab75423045307bba9c6868bc8bc980c1a8a3d57/com.fasterxml.jackson.core/jackson-databind/2.15.2,/data/spring_native_test/SpringBoot3WithAOP/target/graalvm-reachability-metadata/2ab75423045307bba9c6868bc8bc980c1a8a3d57/org.hibernate.orm/hibernate-core/6.2.0.Final,/data/spring_native_test/SpringBoot3WithAOP/target/graalvm-reachability-metadata/2ab75423045307bba9c6868bc8bc980c1a8a3d57/com.zaxxer/HikariCP/5.0.1,/data/spring_native_test/SpringBoot3WithAOP/target/graalvm-reachability-metadata/2ab75423045307bba9c6868bc8bc980c1a8a3d57/org.glassfish.jaxb/jaxb-runtime/3.0.2 -H:ImageBuildID@driver=7b273b98-7651-8838-e05d-0d301365fb6f -H:Features@jar:file:///data/graalvm-jdk21/lib/svm/library-support.jar!/META-INF/native-image/com.oracle.svm/thirdparty/native-image.properties+api=com.oracle.svm.thirdparty.gson.GsonFeature -H:Features@jar:file:///data/graalvm-jdk21/lib/svm/library-support.jar!/META-INF/native-image/com.oracle.svm/polyglot/native-image.properties+api=com.oracle.svm.polyglot.groovy.GroovyIndyInterfaceFeature,com.oracle.svm.polyglot.scala.ScalaFeature -H:Color@driver=always -H:+BuildOutputProgress@driver -H:+BuildOutputLinks@driver ```
Builder properties ``` -Dcom.oracle.graalvm.isaot=true -Dgraalvm.ForcePolyglotInvalid=true -Dgraalvm.locatorDisabled=true -Djava.awt.headless=true -Djava.lang.invoke.InnerClassLambdaMetafactory.initializeLambdas=false -Djava.system.class.loader=com.oracle.svm.hosted.NativeImageSystemClassLoader -Djdk.internal.lambda.disableEagerInitialization=true -Djdk.internal.lambda.eagerlyInitialize=false -Djdk.module.main=org.graalvm.nativeimage.builder -Dorg.graalvm.vendor=Oracle Corporation -Dorg.graalvm.vendorurl=https://www.graalvm.org/ -Dorg.graalvm.vendorversion=Oracle GraalVM 21.0.2+13.1 -Dorg.graalvm.version=23.1.2 -Dsubstratevm.HostLibC=glibc -Dsubstratevm.IgnoreGraalVersionCheck=true -Dtruffle.TruffleRuntime=com.oracle.truffle.api.impl.DefaultTruffleRuntime -Dtruffle.TrustAllTruffleRuntimeProviders=true ```
Features enabled ``` com.oracle.svm.core.IsolateArgumentParserFeature, [] com.oracle.svm.core.IsolateListenerFeature, [com.oracle.svm.core.IsolateListenerSupportFeature] com.oracle.svm.core.IsolateListenerSupportFeature, [] com.oracle.svm.core.RuntimeAssertionsSupportFeature, [] com.oracle.svm.core.StaticFieldsFeature, [] com.oracle.svm.core.StaticFieldsSupportFeature, [] com.oracle.svm.core.SubstrateExitHandlerFeature, [] com.oracle.svm.core.SubstrateSegfaultHandlerFeature, [com.oracle.svm.core.IsolateListenerSupportFeature] com.oracle.svm.core.UniqueShortNameProviderDefaultImplFeature, [] com.oracle.svm.core.UnsafeMemoryUtilFeature, [] com.oracle.svm.core.allocationprofile.AllocationProfilingFeature, [com.oracle.svm.core.jdk.RuntimeSupportFeature] com.oracle.svm.core.amd64.AMD64FrameAccessFeature, [] com.oracle.svm.core.c.CIsolateDataStorageFeature, [] com.oracle.svm.core.c.CTypeConversionSupportImplFeature, [] com.oracle.svm.core.c.ProjectHeaderFileHeaderResolversRegistryFeature, [] com.oracle.svm.core.c.function.IsolateSupportImplFeature, [] com.oracle.svm.core.code.CodeInfoFeature, [com.oracle.svm.core.util.CounterFeature] com.oracle.svm.core.code.CodeInfoMemoryWalkerFeature, [] com.oracle.svm.core.code.InstalledCodeObserverSupportFeature, [] com.oracle.svm.core.cpufeature.RuntimeCPUFeatureCheckFeature, [] com.oracle.svm.core.cpufeature.RuntimeCPUFeatureCheckImplFeature, [] com.oracle.svm.core.genscavenge.AlignedHeapChunkMemoryWalkerAccessImplFeature, [] com.oracle.svm.core.genscavenge.JfrGCEventFeature, [] com.oracle.svm.core.genscavenge.PinnedObjectImplPinnedObjectSupportImplFeature, [] com.oracle.svm.core.genscavenge.UnalignedHeapChunkMemoryWalkerAccessImplFeature, [] com.oracle.svm.core.genscavenge.graal.BarrierSnippetCountersFeature, [com.oracle.svm.core.util.CounterFeature] com.oracle.svm.core.genscavenge.graal.GenScavengeGCFeature, [com.oracle.svm.core.jdk.RuntimeSupportFeature com.oracle.svm.core.jdk.management.ManagementFeature com.oracle.svm.core.jvmstat.PerfDataFeature com.oracle.svm.core.heap.AllocationFeature] com.oracle.svm.core.graal.amd64.AMD64NativePatchConsumerFactoryFeature, [] com.oracle.svm.core.graal.amd64.SubstrateAMD64Feature, [] com.oracle.svm.core.graal.amd64.SubstrateAMD64GraphBuilderPlugins, [] com.oracle.svm.core.graal.jdk.JDKIntrinsicsFeature, [] com.oracle.svm.core.graal.snippets.CFunctionSnippetsFeature, [] com.oracle.svm.core.graal.snippets.DeoptSnippetsFeature, [] com.oracle.svm.core.graal.snippets.ExceptionFeature, [] com.oracle.svm.core.graal.snippets.SafepointFeature, [] com.oracle.svm.core.graal.snippets.StackOverflowCheckFeature, [] com.oracle.svm.core.graal.snippets.amd64.AMD64SnippetsFeature, [] com.oracle.svm.core.graal.stackvalue.StackValueFeature, [] com.oracle.svm.core.handles.ObjectHandlesSupportImplFeature, [] com.oracle.svm.core.handles.PinnedPrimitiveArrayViewFeature, [] com.oracle.svm.core.heap.AllocationFeature, [] com.oracle.svm.core.heap.GCCauseFeature, [] com.oracle.svm.core.heap.HostedHeapSizeVerifierFeature, [] com.oracle.svm.core.heap.ReferenceAccessImplFeature, [] com.oracle.svm.core.heap.ReferenceHandlerThreadFeature, [] com.oracle.svm.core.heap.VMOperationInfosFeature, [] com.oracle.svm.core.heap.VMOperationNamesFeatures, [] com.oracle.svm.core.hub.ClassForNameSupportFeature, [] com.oracle.svm.core.hub.DynamicHubSupportFeature, [] com.oracle.svm.core.identityhashcode.SubstrateIdentityHashCodeFeature, [] com.oracle.svm.core.jdk.AtomicFieldUpdaterFeature, [] com.oracle.svm.core.jdk.ClassLoaderSupportFeature, [] com.oracle.svm.core.jdk.CompletableFutureFeature, [] com.oracle.svm.core.jdk.FileSystemProviderFeature, [] com.oracle.svm.core.jdk.ForkJoinPoolFeature, [] com.oracle.svm.core.jdk.InnocuousForkJoinWorkerThreadFeature, [] com.oracle.svm.core.jdk.JRTDisableFeature, [] com.oracle.svm.core.jdk.JavaNetFeature, [] com.oracle.svm.core.jdk.JavaNetHttpFeature, [] com.oracle.svm.core.jdk.NativeLibrarySupportFeature, [] com.oracle.svm.core.jdk.PlatformNativeLibrarySupportFeature, [] com.oracle.svm.core.jdk.ResourcesFeature, [] com.oracle.svm.core.jdk.RuntimeFeature, [com.oracle.svm.core.jdk.RuntimeSupportFeature] com.oracle.svm.core.jdk.RuntimeSupportFeature, [] com.oracle.svm.core.jdk.ServiceCatalogSupportFeature, [] com.oracle.svm.core.jdk.SimpleWebServerFeature, [] com.oracle.svm.core.jdk.TimeZoneFeature, [] com.oracle.svm.core.jdk.TrustStoreManagerFeature, [] com.oracle.svm.core.jdk.URLProtocolsSupportFeature, [] com.oracle.svm.core.jdk.VarHandleFeature, [] com.oracle.svm.core.jdk.localization.LocalizationFeature, [] com.oracle.svm.core.jdk.management.ManagementFeature, [com.oracle.svm.core.jdk.RuntimeSupportFeature com.oracle.svm.core.thread.ThreadListenerSupportFeature] com.oracle.svm.core.jfr.sampler.JfrNoExecutionSamplerFeature, [com.oracle.svm.core.jfr.JfrFeature] com.oracle.svm.core.jfr.sampler.JfrRecurringCallbackExecutionSamplerFeature, [com.oracle.svm.core.jfr.JfrFeature] com.oracle.svm.core.jvmstat.PerfDataFeature, [com.oracle.svm.core.thread.VMOperationListenerSupportFeature com.oracle.svm.core.jdk.RuntimeSupportFeature] com.oracle.svm.core.meta.SubstrateObjectConstantEqualityFeature, [] com.oracle.svm.core.option.RuntimeOptionsSupportImplFeature, [] com.oracle.svm.core.option.ValidateImageBuildOptionsFeature, [] com.oracle.svm.core.os.BufferedFileOperationFeature, [] com.oracle.svm.core.os.ImageHeapProviderFeature, [] com.oracle.svm.core.os.OSCommittedMemoryProviderFeature, [] com.oracle.svm.core.posix.IgnoreSignalsFeature, [] com.oracle.svm.core.posix.PosixLoadAverageSupportFeature, [] com.oracle.svm.core.posix.PosixLogHandlerFeature, [] com.oracle.svm.core.posix.PosixNativeLibraryFeature, [] com.oracle.svm.core.posix.PosixRawFileOperationFeature, [] com.oracle.svm.core.posix.PosixSubstrateSegfaultHandlerFeature, [] com.oracle.svm.core.posix.PosixSubstrateSigProfHandlerFeature, [com.oracle.svm.core.IsolateListenerSupportFeature com.oracle.svm.core.jfr.JfrFeature] com.oracle.svm.core.posix.PosixVirtualMemoryProviderFeature, [] com.oracle.svm.core.posix.UnmanagedMemorySupportImplFeature, [] com.oracle.svm.core.posix.amd64.AMD64LinuxUContextRegisterDumperFeature, [] com.oracle.svm.core.posix.heapdump.AllocationFreeFileOutputStreamPosixFeature, [] com.oracle.svm.core.posix.linux.LinuxImageSingletonsFeature, [] com.oracle.svm.core.posix.linux.LinuxPhysicalMemorySupportImplFeature, [] com.oracle.svm.core.posix.linux.LinuxProcessPropertiesSupportFeature, [] com.oracle.svm.core.posix.linux.LinuxStackOverflowSupportFeature, [] com.oracle.svm.core.posix.linux.LinuxSystemPropertiesFeature, [] com.oracle.svm.core.posix.linux.LinuxThreadCpuTimeSupportFeature, [] com.oracle.svm.core.posix.linux.LinuxVMSemaphoreFeature, [] com.oracle.svm.core.posix.pthread.PthreadVMLockFeature, [] com.oracle.svm.core.posix.thread.PosixParkerFactoryFeature, [] com.oracle.svm.core.posix.thread.PosixPlatformThreadsFeature, [] com.oracle.svm.core.posix.thread.PosixVMThreadsFeature, [] com.oracle.svm.core.posix.thread.PosixVMThreadsPosixThreadLookupFeature, [] com.oracle.svm.core.reflect.target.ReflectionMetadataDecoderImplFeature, [] com.oracle.svm.core.reflect.target.ReflectionMetadataDecoderImplMetadataAccessorImplFeature, [] com.oracle.svm.core.reflect.target.ReflectionMetadataEncodingFeature, [] com.oracle.svm.core.thread.ContinuationsFeature, [] com.oracle.svm.core.thread.JavaThreadsFeature, [] com.oracle.svm.core.thread.SafepointListenerSupportFeature, [] com.oracle.svm.core.thread.SafepointMasterFeature, [] com.oracle.svm.core.thread.ThreadListenerSupportFeature, [] com.oracle.svm.core.thread.ThreadLookupFeature, [] com.oracle.svm.core.thread.ThreadingSupportImplFeature, [] com.oracle.svm.core.thread.VMOperationControlFeature, [] com.oracle.svm.core.thread.VMOperationListenerSupportFeature, [] com.oracle.svm.core.threadlocal.VMThreadLocalInfosFeature, [] com.oracle.svm.core.util.CounterFeature, [] com.oracle.svm.core.util.HostedStringDeduplicationFeature, [] com.oracle.svm.enterprise.core.ah, [] com.oracle.svm.enterprise.core.al, [] com.oracle.svm.enterprise.core.amd64.a, [] com.oracle.svm.enterprise.core.amd64.g, [] com.oracle.svm.enterprise.core.as, [] com.oracle.svm.enterprise.core.auximage.AuxiliaryImageHeapFeature, [] com.oracle.svm.enterprise.core.auximage.ah, [] com.oracle.svm.enterprise.core.b, [] com.oracle.svm.enterprise.core.copying.a, [] com.oracle.svm.enterprise.core.copying.d, [] com.oracle.svm.enterprise.core.copying.p, [] com.oracle.svm.enterprise.core.f, [] com.oracle.svm.enterprise.core.graal.jdk.a, [] com.oracle.svm.enterprise.core.graalos.b, [] com.oracle.svm.enterprise.core.heap.a, [] com.oracle.svm.enterprise.core.l, [] com.oracle.svm.enterprise.core.monitor.b, [] com.oracle.svm.enterprise.core.posix.g, [com.oracle.svm.enterprise.core.auximage.AuxiliaryImageHeapFeature] com.oracle.svm.enterprise.core.posix.mpk.d, [] com.oracle.svm.enterprise.core.sboutlining.g, [] com.oracle.svm.enterprise.core.sboutlining.i, [com.oracle.svm.core.util.CounterFeature] com.oracle.svm.enterprise.core.sboutlining.l, [] com.oracle.svm.enterprise.core.stringformat.b, [] com.oracle.svm.enterprise.graal.a, [] com.oracle.svm.enterprise.graal.amd64.b, [] com.oracle.svm.enterprise.hosted.b, [] com.oracle.svm.enterprise.hosted.code.layout.e, [] com.oracle.svm.enterprise.hosted.e, [] com.oracle.svm.enterprise.hosted.h, [] com.oracle.svm.enterprise.hosted.m, [] com.oracle.svm.enterprise.hosted.ml.features.provider.a, [] com.oracle.svm.enterprise.hosted.objectinlining.b, [] com.oracle.svm.enterprise.hosted.objectinlining.f, [] com.oracle.svm.enterprise.hosted.phases.a, [] com.oracle.svm.enterprise.profiling.c, [] com.oracle.svm.enterprise.sbom.d, [] com.oracle.svm.graal.RuntimeCPUFeatureRegionFeature, [] com.oracle.svm.graal.isolated.DisableSnippetCountersFeature, [] com.oracle.svm.graal.isolated.IsolateAwareObjectConstantEqualityFeature, [] com.oracle.svm.graal.meta.amd64.AMD64RuntimeCodeInstallerPlatformHelperFeature, [] com.oracle.svm.graal.stubs.AMD64StubForeignCallsFeature, [] com.oracle.svm.hosted.BuildDirectoryProviderImplFeature, [] com.oracle.svm.hosted.ClassLoaderFeature, [] com.oracle.svm.hosted.ClassNewInstanceFeature, [] com.oracle.svm.hosted.ClassPredefinitionFeature, [] com.oracle.svm.hosted.ClassValueFeature, [] com.oracle.svm.hosted.ConcurrentReachabilityHandler, [] com.oracle.svm.hosted.FallbackFeature, [] com.oracle.svm.hosted.Log4ShellFeature, [] com.oracle.svm.hosted.LoggingFeature, [] com.oracle.svm.hosted.ModuleLayerFeature, [] com.oracle.svm.hosted.NativeSecureRandomFilesCloser, [] com.oracle.svm.hosted.ProtectionDomainFeature, [] com.oracle.svm.hosted.ResourcesFeature, [] com.oracle.svm.hosted.SecurityServicesFeature, [] com.oracle.svm.hosted.ServiceLoaderFeature, [] com.oracle.svm.hosted.SubstrateDiagnosticFeature, [] com.oracle.svm.hosted.SystemInOutErrFeature, [] com.oracle.svm.hosted.ameta.HostedDynamicHubFeature, [] com.oracle.svm.hosted.annotation.AnnotationFeature, [] com.oracle.svm.hosted.c.CGlobalDataFeature, [] com.oracle.svm.hosted.c.CIsolateDataFeature, [] com.oracle.svm.hosted.c.function.CEntryPointSupport, [] com.oracle.svm.hosted.c.libc.HostedLibCFeature, [] com.oracle.svm.hosted.classinitialization.ClassInitializationFeature, [] com.oracle.svm.hosted.code.CEntryPointCallStubFeature, [] com.oracle.svm.hosted.code.CEntryPointLiteralFeature, [] com.oracle.svm.hosted.code.CFunctionLinkagesFeature, [] com.oracle.svm.hosted.code.CFunctionPointerCallStubSupportFeature, [] com.oracle.svm.hosted.code.FactoryMethodSupportFeature, [] com.oracle.svm.hosted.code.FrameInfoHostedMethodDataFeature, [] com.oracle.svm.hosted.code.RestrictHeapAccessCalleesFeature, [] com.oracle.svm.hosted.code.SubstrateCompilationDirectivesFeature, [] com.oracle.svm.hosted.code.SubstrateLIRBackendFeature, [] com.oracle.svm.hosted.code.UninterruptibleAnnotationCheckerFeature, [] com.oracle.svm.hosted.code.amd64.AMD64HostedPatcherFeature, [] com.oracle.svm.hosted.code.amd64.AMD64HostedTrampolineSupportFeature, [] com.oracle.svm.hosted.fieldfolding.StaticFinalFieldFoldingFeature, [] com.oracle.svm.hosted.heap.HeapDumpFeature, [] com.oracle.svm.hosted.heap.ImageHeapMapFeature, [] com.oracle.svm.hosted.heap.ObservableHeapMapFeature, [] com.oracle.svm.hosted.heap.PodFeature, [] com.oracle.svm.hosted.image.DisallowedImageHeapObjectFeature, [com.oracle.svm.core.jdk.management.ManagementFeature] com.oracle.svm.hosted.image.ImageHeapFillerObjectsFeature, [] com.oracle.svm.hosted.image.MethodPointerInvalidHandlerFeature, [] com.oracle.svm.hosted.image.MethodPointerRelocationProviderFeature, [] com.oracle.svm.hosted.image.StringInternFeature, [] com.oracle.svm.hosted.image.sources.SourceCacheFeature, [] com.oracle.svm.hosted.jdk.AccessControlContextReplacerFeature, [] com.oracle.svm.hosted.jdk.JDKInitializationFeature, [] com.oracle.svm.hosted.jdk.JDKRegistrations, [] com.oracle.svm.hosted.jdk.JNIRegistrationAWTSupport, [] com.oracle.svm.hosted.jdk.JNIRegistrationJava, [] com.oracle.svm.hosted.jdk.JNIRegistrationJavaNet, [] com.oracle.svm.hosted.jdk.JNIRegistrationJavaNio, [] com.oracle.svm.hosted.jdk.JNIRegistrationManagementExt, [] com.oracle.svm.hosted.jdk.JNIRegistrationPrefs, [] com.oracle.svm.hosted.jdk.JNIRegistrationSupport, [] com.oracle.svm.hosted.jdk.JNIRegistrationsJavaZip, [] com.oracle.svm.hosted.jdk.JRTFeature, [] com.oracle.svm.hosted.jdk.localization.CharsetSubstitutionsFeature, [] com.oracle.svm.hosted.jdk.localization.LocalizationFeature, [] com.oracle.svm.hosted.jni.JNIAccessFeature, [com.oracle.svm.hosted.meta.KnownOffsetsFeature] com.oracle.svm.hosted.jni.JNIAutomaticFeature, [com.oracle.svm.hosted.jni.JNIFeature] com.oracle.svm.hosted.jni.JNICallWrapperFeature, [com.oracle.svm.hosted.jni.JNIAccessFeature] com.oracle.svm.hosted.jni.JNIFeature, [com.oracle.svm.hosted.jni.JNIFunctionTablesFeature com.oracle.svm.hosted.jni.JNICallWrapperFeature com.oracle.svm.hosted.jni.JNILibraryLoadFeature] com.oracle.svm.hosted.jni.JNIFunctionTablesFeature, [com.oracle.svm.hosted.jni.JNIAccessFeature] com.oracle.svm.hosted.jni.JNILibraryLoadFeature, [] com.oracle.svm.hosted.lambda.StableLambdaProxyNameFeature, [] com.oracle.svm.hosted.meta.HostedMethodNameFactory, [] com.oracle.svm.hosted.meta.InvalidVTableEntryFeature, [] com.oracle.svm.hosted.meta.KnownOffsetsFeature, [com.oracle.svm.hosted.thread.VMThreadMTFeature] com.oracle.svm.hosted.meta.MaterializedConstantFieldsFeature, [] com.oracle.svm.hosted.methodhandles.MethodHandleFeature, [] com.oracle.svm.hosted.option.RuntimeOptionFeature, [] com.oracle.svm.hosted.phases.EnumSwitchFeature, [] com.oracle.svm.hosted.reflect.ReflectionFeature, [] com.oracle.svm.hosted.reflect.ReflectionMetadataEncoderImplFactoryFeature, [] com.oracle.svm.hosted.reflect.proxy.DynamicProxyFeature, [com.oracle.svm.hosted.reflect.ReflectionFeature] com.oracle.svm.hosted.reflect.serialize.SerializationFeature, [com.oracle.svm.hosted.reflect.ReflectionFeature com.oracle.svm.hosted.reflect.proxy.DynamicProxyFeature] com.oracle.svm.hosted.snippets.ExceptionUnwindFeature, [] com.oracle.svm.hosted.snippets.ImplicitExceptionsFeature, [] com.oracle.svm.hosted.substitute.AutomaticSubstitutionFeature, [] com.oracle.svm.hosted.thread.CEntryPointFeature, [] com.oracle.svm.hosted.thread.HostedContinuationsFeature, [com.oracle.svm.core.thread.ContinuationsFeature] com.oracle.svm.hosted.thread.VMThreadMTFeature, [] com.oracle.svm.hosted.xml.JavaxXmlClassAndResourcesLoaderFeature, [] com.oracle.svm.thirdparty.gson.GsonFeature, [] org.eclipse.angus.activation.nativeimage.AngusActivationFeature, [] org.springframework.aot.nativex.feature.PreComputeFieldFeature, [] ```
DarkDance commented 8 months ago

sorry,when I use the newest dev version ,it's ok now GraalVM CE 24.1.0-dev-20240306_0308