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.27k stars 1.63k forks source link

[GR-58504] Enabling -H:+IncludeDebugHelperMethods causes native image builder to fail (17, 23) #9715

Open MattAlp opened 1 week ago

MattAlp commented 1 week ago

GraalVM Native Image Error Report

Build Output

========================================================================================================================
GraalVM Native Image: Generating 'demo' (executable)...
========================================================================================================================
For detailed information and explanations on the build output, visit:
https://github.com/oracle/graal/blob/master/docs/reference-manual/native-image/BuildOutput.md
------------------------------------------------------------------------------------------------------------------------
[1/8] Initializing...                                                                                    (4.6s @ 0.32GB)
 Java version: 17.0.12+8-LTS, vendor version: Oracle GraalVM 17.0.12+8.1
 Graal compiler: optimization level: 0, target machine: armv8-a, PGO: off
 C compiler: gcc (linux, aarch64, 11.4.0)
 Garbage collector: Serial GC (max heap size: 80% of RAM)
 1 user-specific feature(s)
 - org.springframework.aot.nativex.feature.PreComputeFieldFeature
[2/8] Performing analysis...  [*******]                                                                 (25.5s @ 2.57GB)
  21,315 (90.04%) of 23,672 types reachable
  35,495 (61.47%) of 57,746 fields reachable
 114,141 (63.40%) of 180,047 methods reachable
   6,540 types,   599 fields, and 6,418 methods registered for reflection
      87 types,    90 fields, and    65 methods registered for JNI access
       4 native libraries: dl, pthread, rt, z
[3/8] Building universe...                                                                               (4.5s @ 2.62GB)
[4/8] Parsing methods...      [**]                                                                       (2.7s @ 3.57GB)

Stack Trace

com.oracle.svm.core.util.VMError$HostedError: Found 1 violations of @Uninterruptible usage:
- Unannotated callee: com.oracle.svm.core.SubstrateDiagnostics.printObjectInfo(Log, Object):void called by annotated caller com.oracle.svm.core.DebugHelper$DiagnosticDebugHelper.printObject(IsolateThread, Pointer):void
at com.oracle.svm.core.DebugHelper$DiagnosticDebugHelper.printObject(DebugHelper.java:267) [bci: 9]
    at org.graalvm.nativeimage.builder/com.oracle.svm.core.util.VMError.shouldNotReachHere(VMError.java:72)
    at org.graalvm.nativeimage.builder/com.oracle.svm.core.util.VMError.shouldNotReachHere(VMError.java:98)
    at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.code.UninterruptibleAnnotationChecker.reportViolations(UninterruptibleAnnotationChecker.java:109)
    at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.code.UninterruptibleAnnotationChecker.checkBeforeCompilation(UninterruptibleAnnotationChecker.java:100)
    at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.code.CompileQueue.checkUninterruptibleAnnotations(CompileQueue.java:443)
    at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.code.CompileQueue.finish(CompileQueue.java:401)
    at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:660)
    at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:539)
    at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:408)
    at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:612)
    at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.start(NativeImageGeneratorRunner.java:134)
    at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:94)

GraalVM Setup

Name Value
Java version 17.0.12+8-LTS
Vendor version Oracle GraalVM 17.0.12+8.1
Runtime version 17.0.12+8-LTS-jvmci-23.0-b41
C compiler gcc (linux, aarch64, 11.4.0)
GraalVM release file ``` IMPLEMENTOR="Oracle Corporation" JAVA_RUNTIME_VERSION="17.0.12+8-LTS-jvmci-23.0-b41" JAVA_VERSION="17.0.12" JAVA_VERSION_DATE="2024-07-16" LIBC="gnu" MODULES="java.base java.logging java.management jdk.internal.vm.ci java.compiler java.instrument jdk.jfr jdk.unsupported org.graalvm.sdk java.datatransfer java.xml java.prefs java.desktop java.transaction.xa java.sql jdk.management org.graalvm.truffle jdk.internal.vm.compiler com.oracle.graal.graal_enterprise com.oracle.svm.extraimage_enterprise java.security.sasl java.naming java.rmi java.management.rmi java.net.http java.scripting java.security.jgss java.sql.rowset java.xml.crypto java.se java.smartcardio jdk.accessibility jdk.internal.jvmstat jdk.attach jdk.charsets jdk.compiler jdk.crypto.ec jdk.crypto.cryptoki jdk.dynalink jdk.internal.ed jdk.editpad jdk.hotspot.agent jdk.httpserver jdk.incubator.foreign jdk.incubator.vector jdk.internal.le jdk.internal.opt jdk.internal.vm.compiler.management jdk.internal.vm.compiler.truffle.jfr jdk.jartool jdk.javadoc jdk.jcmd jdk.management.agent jdk.jconsole jdk.jdeps jdk.jdwp.agent jdk.jdi 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 jdk.zipfs org.graalvm.extraimage.builder org.graalvm.js.scriptengine org.graalvm.locator" OS_ARCH="aarch64" OS_NAME="Linux" SOURCE=".:git:96346907d395 open:git:cacc2e48625a labsjdk-builder:02dd710bea81a668fc5e78ad9b59235213744465 compiler:673ccebabd0173ee836703556922ac871e3fb086 graal-enterprise:830ff937a38c2bcf70a6337f6b800ee234bba64a graal-js:b351c78db6324c907ae90f5279ede4c701a48c6a graal-microservices:830ff937a38c2bcf70a6337f6b800ee234bba64a java-benchmarks:673ccebabd0173ee836703556922ac871e3fb086 regex:673ccebabd0173ee836703556922ac871e3fb086 sdk:673ccebabd0173ee836703556922ac871e3fb086 substratevm:673ccebabd0173ee836703556922ac871e3fb086 substratevm-enterprise:830ff937a38c2bcf70a6337f6b800ee234bba64a tools:673ccebabd0173ee836703556922ac871e3fb086 tools-enterprise:830ff937a38c2bcf70a6337f6b800ee234bba64a truffle:673ccebabd0173ee836703556922ac871e3fb086 vm:673ccebabd0173ee836703556922ac871e3fb086 vm-enterprise:830ff937a38c2bcf70a6337f6b800ee234bba64a" GRAALVM_VERSION="23.0.5" COMMIT_INFO={"compiler": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1719920244, "commit.rev": "673ccebabd0173ee836703556922ac871e3fb086"}, "graal-enterprise": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1719920496, "commit.rev": "830ff937a38c2bcf70a6337f6b800ee234bba64a"}, "graal-js": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1719919260, "commit.rev": "b351c78db6324c907ae90f5279ede4c701a48c6a"}, "graal-microservices": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1719920496, "commit.rev": "830ff937a38c2bcf70a6337f6b800ee234bba64a"}, "java-benchmarks": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1719920244, "commit.rev": "673ccebabd0173ee836703556922ac871e3fb086"}, "regex": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1719920244, "commit.rev": "673ccebabd0173ee836703556922ac871e3fb086"}, "sdk": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1719920244, "commit.rev": "673ccebabd0173ee836703556922ac871e3fb086"}, "substratevm": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1719920244, "commit.rev": "673ccebabd0173ee836703556922ac871e3fb086"}, "substratevm-enterprise": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1719920496, "commit.rev": "830ff937a38c2bcf70a6337f6b800ee234bba64a"}, "tools": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1719920244, "commit.rev": "673ccebabd0173ee836703556922ac871e3fb086"}, "tools-enterprise": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1719920496, "commit.rev": "830ff937a38c2bcf70a6337f6b800ee234bba64a"}, "truffle": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1719920244, "commit.rev": "673ccebabd0173ee836703556922ac871e3fb086"}, "vm": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1719920244, "commit.rev": "673ccebabd0173ee836703556922ac871e3fb086"}, "vm-enterprise": {"commit.committer": "Marouane El Hallaoui ", "commit.committer-ts": 1719920496, "commit.rev": "830ff937a38c2bcf70a6337f6b800ee234bba64a"}} component_catalog="rest://gds.oracle.com/api/20220101/" GDS_PRODUCT_ID="D53FAE8052773FFAE0530F15000AA6C6" ```

Builder Setup

Class path ``` /home/matthew.alp/datadog_poc/build/libs/demo-0.0.1-SNAPSHOT-plain.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-webflux/3.3.1/9d136c84e218ca773105a0ef99a5251c45be9b1e/spring-boot-starter-webflux-3.3.1.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework.cloud/spring-cloud-starter-openfeign/4.1.3/f0f5928bf0e4560be4b49f2c626cfaceb067d6c3/spring-cloud-starter-openfeign-4.1.3.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/com.squareup.okhttp3/okhttp/4.10.0/cd63657ac15770ed1420647154c9f44645533bef/okhttp-4.10.0.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-json/3.3.1/b78d1ce67c3a44e8a2c2799b70e8c216166d0f5b/spring-boot-starter-json-3.3.1.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework.cloud/spring-cloud-starter/4.1.4/e32d5329fff525c522ebe3fea48f3a0e8ad08547/spring-cloud-starter-4.1.4.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter/3.3.1/30e0ac13cfa51c77db60909ea28572a1e973f186/spring-boot-starter-3.3.1.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-reactor-netty/3.3.1/f0937bfe961911695c6d2167c92104de3caf5609/spring-boot-starter-reactor-netty-3.3.1.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework/spring-webflux/6.1.10/c8d75066a9f8af61681be635ea0e61cef320b53e/spring-webflux-6.1.10.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework.cloud/spring-cloud-openfeign-core/4.1.3/3ba236e1681b76df50813c931e14ca118f01889a/spring-cloud-openfeign-core-4.1.3.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.github.openfeign.form/feign-form-spring/3.8.0/71059f6e16ddbaf0e42f1b1aa0bb60cc2f823e4d/feign-form-spring-3.8.0.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/6.1.10/876a856af61ef5712fb9a3013b798aa2b4a9475e/spring-web-6.1.10.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework.cloud/spring-cloud-commons/4.1.4/17a5acd971f66a9fc0f1f82d977b29a1ee081b30/spring-cloud-commons-4.1.4.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.github.openfeign/feign-slf4j/13.3/f17fb81e25202c8cb7cdd1d5d130273fcd466cd3/feign-slf4j-13.3.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.github.openfeign/feign-core/13.3/e7ea7cee39f5176e1da192c2fcc215b47229434b/feign-core-13.3.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/com.squareup.okio/okio-jvm/3.0.0/ab5a73fa2ccb4a36b0b5c69fe10b16d0255bcf8/okio-jvm-3.0.0.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk8/1.9.24/a2f6d82081a54b52ceb120c5a18f87402ccab0c/kotlin-stdlib-jdk8-1.9.24.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.9.24/46b6e1099acabc71feca1c0013deee78e6793d07/kotlin-stdlib-jdk7-1.9.24.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.9.24/9928532f12c66ad816a625b3f9984f8368ca6d2b/kotlin-stdlib-1.9.24.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-autoconfigure/3.3.1/36a6489e3ba5e34163bddb5134021de9ce101abc/spring-boot-autoconfigure-3.3.1.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot/3.3.1/2c5cfe68bc12646ce44663f865d39c747a28f2c7/spring-boot-3.3.1.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-logging/3.3.1/2097eebccdf7556cf42c8a74a5da64420ac143a1/spring-boot-starter-logging-3.3.1.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/jakarta.annotation/jakarta.annotation-api/2.1.1/48b9bda22b091b1f48b13af03fe36db3be6e1ae3/jakarta.annotation-api-2.1.1.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context/6.1.10/6f869ea35a26028f3bfbfb52c72ef2b077fbb6e5/spring-context-6.1.10.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework/spring-aop/6.1.10/aa6a147eb08820fb503a992a8fe2c9fee3439129/spring-aop-6.1.10.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/6.1.10/a49252929fb2918f73eb7659ef98dff7306a7c2c/spring-beans-6.1.10.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework/spring-expression/6.1.10/a17d61f1388d0e13d6e7a740304e9d648fffc7c/spring-expression-6.1.10.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/6.1.10/eaf5b1f3e3bb5aa8b45ab255cf3270c1c4578f1d/spring-core-6.1.10.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.yaml/snakeyaml/2.2/3af797a25458550a16bf89acc8e4ab2b7f2bfce0/snakeyaml-2.2.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.datatype/jackson-datatype-jsr310/2.17.1/969b0c3cb8c75d759e9a6c585c44c9b9f3a4f75/jackson-datatype-jsr310-2.17.1.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.module/jackson-module-parameter-names/2.17.1/74a998f6fbcedbddedf0a27e8ce72078b2e516a6/jackson-module-parameter-names-2.17.1.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-annotations/2.17.1/fca7ef6192c9ad05d07bc50da991bf937a84af3a/jackson-annotations-2.17.1.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-core/2.17.1/5e52a11644cd59a28ef79f02bddc2cc3bab45edb/jackson-core-2.17.1.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1/76b495194c36058904c82e288d285a1bd13f0ffa/jackson-datatype-jdk8-2.17.1.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-databind/2.17.1/524dcbcccdde7d45a679dfc333e4763feb09079/jackson-databind-2.17.1.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.projectreactor.netty/reactor-netty-http/1.1.20/8d4ee98405a5856cf0c9d7c1a70f3f14631e3c46/reactor-netty-http-1.1.20.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.micrometer/micrometer-observation/1.13.1/f6f5fa79e482431531cc253a7204e5c085c7bb20/micrometer-observation-1.13.1.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.projectreactor.netty/reactor-netty-core/1.1.20/1a5ef52a470a82d9313e2e1ad8ba064bdbd38948/reactor-netty-core-1.1.20.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.projectreactor/reactor-core/3.6.7/6d1918147645b5b8e577555a89ab271319f25d2f/reactor-core-3.6.7.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework.cloud/spring-cloud-context/4.1.4/79f3f11e3c9ee32108bc21c6b3fa5b2233aed820/spring-cloud-context-4.1.4.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-rsa/1.1.3/3d0c30d4b9adaf350e88ea1b0a62912aee4c3eee/spring-security-rsa-1.1.3.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/commons-fileupload/commons-fileupload/1.5/ad4ad2ab2961b4e1891472bd1a33fabefb0385f3/commons-fileupload-1.5.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-crypto/6.3.1/3e66321782db499cca3884830188a091058121f3/spring-security-crypto-6.3.1.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-classic/1.5.6/afc75d260d838a3bddfb8f207c2805ed7d1b34f9/logback-classic-1.5.6.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-to-slf4j/2.23.1/425ad1eb8a39904d2830e907a324e956fb456520/log4j-to-slf4j-2.23.1.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.slf4j/jul-to-slf4j/2.0.13/a3bcd9d9dd50c71ce69f06b1fd05e40fdeff6ba5/jul-to-slf4j-2.0.13.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.github.openfeign.form/feign-form/3.8.0/3083889996b18443c275a352d3ab4bc6c8321598/feign-form-3.8.0.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/2.0.13/80229737f704b121a318bba5d5deacbcf395bc77/slf4j-api-2.0.13.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/919f0dfe192fb4e063e7dacadee7f8bb9a2672a9/annotations-13.0.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework/spring-jcl/6.1.10/c22c18cf6ed7d768676816347f020a6868663224/spring-jcl-6.1.10.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-http2/4.1.111.Final/f0cca5df75bfb4f858d0435f601d8b1cae1de054/netty-codec-http2-4.1.111.Final.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-handler-proxy/4.1.111.Final/1e459c8630bb7c942b79a97e62dd728798de6a8c/netty-handler-proxy-4.1.111.Final.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-http/4.1.111.Final/c6ecbc452321e632bf3cea0f9758839b650455c7/netty-codec-http-4.1.111.Final.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-resolver-dns-native-macos/4.1.111.Final/aeef447d930ddfcdc80a8b2c67eb9b5d781d6354/netty-resolver-dns-native-macos-4.1.111.Final-osx-x86_64.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-resolver-dns-classes-macos/4.1.111.Final/c21cc719234e5553c3b65f29defb4b383edc8fd2/netty-resolver-dns-classes-macos-4.1.111.Final.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-resolver-dns/4.1.111.Final/5ac6a3d96935129ba45ea768ad30e31cad0d8c4d/netty-resolver-dns-4.1.111.Final.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-transport-native-epoll/4.1.111.Final/e102a0568f4f2cd7d4049c4154f94528cadf646b/netty-transport-native-epoll-4.1.111.Final-linux-x86_64.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.micrometer/micrometer-commons/1.13.1/5629ecbcc84a9f29e1cf976718de2497e50932bf/micrometer-commons-1.13.1.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.reactivestreams/reactive-streams/1.0.4/3864a1320d97d7b045f729a326e1e077661f31b7/reactive-streams-1.0.4.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk18on/1.78/619aafb92dc0b4c6cc4cf86c487ca48ee2d67a8e/bcprov-jdk18on-1.78.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.11.0/a2503f302b11ebde7ebc3df41daebe0e4eea3689/commons-io-2.11.0.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-core/1.5.6/41cbe874701200c5624c19e0ab50d1b88dfcc77d/logback-core-1.5.6.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-api/2.23.1/9c15c29c526d9c6783049c0a77722693c66706e1/log4j-api-2.23.1.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-handler/4.1.111.Final/2bc6a58ad2e9e279634b6e55022e8dcd3c175cc4/netty-handler-4.1.111.Final.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-dns/4.1.111.Final/f988dbb527efb0e7cf7d444cc50b0fc3f5f380ec/netty-codec-dns-4.1.111.Final.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-socks/4.1.111.Final/ea52ef6617a9b69b0baaebb7f0b80373527f9607/netty-codec-socks-4.1.111.Final.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec/4.1.111.Final/a6762ec00a6d268f9980741f5b755838bcd658bf/netty-codec-4.1.111.Final.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-transport-classes-epoll/4.1.111.Final/8b97d32eb1489043e478deea99bd93ce487b82f6/netty-transport-classes-epoll-4.1.111.Final.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-transport-native-unix-common/4.1.111.Final/acafc128cddafa021bc0b48b0788eb0e118add5e/netty-transport-native-unix-common-4.1.111.Final.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-transport/4.1.111.Final/24e97cf14ea9d80afe4c5ab69066b587fccc154a/netty-transport-4.1.111.Final.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-buffer/4.1.111.Final/b54863f578939e135d3b3aea610284ae57c188cf/netty-buffer-4.1.111.Final.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-resolver/4.1.111.Final/3493179999f211dc49714319f81da2be86523a3b/netty-resolver-4.1.111.Final.jar /home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-common/4.1.111.Final/58210befcb31adbcadd5724966a061444db91863/netty-common-4.1.111.Final.jar /home/matthew.alp/datadog_poc/build/classes/java/aot /home/matthew.alp/datadog_poc/build/resources/aot /home/matthew.alp/datadog_poc/build/generated/aotClasses ```
Module path ``` /home/matthew.alp/.sdkman/candidates/java/17.0.12-graal/lib/svm/library-support.jar /home/matthew.alp/.sdkman/candidates/java/17.0.12-graal/lib/svm/graal-microservices.jar /home/matthew.alp/.sdkman/candidates/java/17.0.12-graal/lib/truffle/truffle-api.jar /home/matthew.alp/.sdkman/candidates/java/17.0.12-graal/lib/svm/builder/svm.jar /home/matthew.alp/.sdkman/candidates/java/17.0.12-graal/lib/svm/builder/objectfile.jar /home/matthew.alp/.sdkman/candidates/java/17.0.12-graal/lib/svm/builder/pointsto.jar /home/matthew.alp/.sdkman/candidates/java/17.0.12-graal/lib/svm/builder/native-image-base.jar /home/matthew.alp/.sdkman/candidates/java/17.0.12-graal/lib/svm/builder/svm-enterprise.jar ```
Builder arguments ``` -H:+AddAllCharsets -H:EnableURLProtocols=http -H:IncludeResources=.*dd-.*version$ -H:ReflectionConfigurationResources=META-INF/native-image/com.datadoghq/dd-java-agent/reflect-config.json -H:ClassInitialization=com.datadog.profiling.controller.openjdk.events.AvailableProcessorCoresEvent:build_time,com.datadog.profiling.controller.openjdk.events.DeadlockEvent:build_time,com.datadog.profiling.controller.openjdk.events.ProfilerSettingEvent:build_time,com.datadog.profiling.controller.openjdk.events.EndpointEvent:build_time,com.datadog.profiling.controller.openjdk.events.QueueTimeEvent:build_time,com.datadog.profiling.controller.openjdk.events.TimelineEvent:build_time,com.datadog.profiling.controller.openjdk.events.SmapEntryEvent:build_time,com.datadog.profiling.controller.openjdk.events.SmapEntryFactory$SmapParseErrorEvent:build_time,datadog.trace.api.Config:rerun,datadog.trace.api.Platform:rerun,datadog.trace.api.Platform$Captured:build_time,datadog.trace.api.env.CapturedEnvironment:build_time,datadog.trace.api.ConfigCollector:rerun,datadog.trace.api.ConfigDefaults:build_time,datadog.trace.api.ConfigSetting:build_time,datadog.trace.api.InstrumenterConfig:build_time,datadog.trace.api.Functions:build_time,datadog.trace.api.GlobalTracer:build_time,datadog.trace.api.MethodFilterConfigParser:build_time,datadog.trace.api.WithGlobalTracer:build_time,datadog.trace.api.PropagationStyle:build_time,datadog.trace.api.telemetry.OtelEnvMetricCollector:build_time,datadog.trace.api.profiling.ProfilingEnablement:build_time,datadog.trace.bootstrap.config.provider.ConfigConverter:build_time,datadog.trace.bootstrap.config.provider.ConfigProvider:build_time,datadog.trace.bootstrap.config.provider.ConfigProvider$Singleton:build_time,datadog.trace.bootstrap.config.provider.OtelEnvironmentConfigSource:build_time,datadog.trace.bootstrap.Agent:build_time,datadog.trace.bootstrap.BootstrapProxy:build_time,datadog.trace.bootstrap.CallDepthThreadLocalMap:build_time,datadog.trace.bootstrap.DatadogClassLoader:build_time,datadog.trace.bootstrap.InstrumentationClassLoader:build_time,datadog.trace.bootstrap.FieldBackedContextStores:build_time,datadog.trace.bootstrap.benchmark.StaticEventLogger:build_time,datadog.trace.bootstrap.InstrumentationErrors:build_time,datadog.trace.bootstrap.instrumentation.java.concurrent.ConcurrentState:build_time,datadog.trace.bootstrap.instrumentation.java.concurrent.ExcludeFilter:build_time,datadog.trace.bootstrap.instrumentation.java.concurrent.QueueTimeHelper:build_time,datadog.trace.bootstrap.instrumentation.java.concurrent.TPEHelper:build_time,datadog.trace.bootstrap.instrumentation.jfr.exceptions.ExceptionCountEvent:build_time,datadog.trace.bootstrap.instrumentation.jfr.exceptions.ExceptionSampleEvent:build_time,datadog.trace.bootstrap.instrumentation.jfr.backpressure.BackpressureSampleEvent:build_time,datadog.trace.bootstrap.instrumentation.jfr.directallocation.DirectAllocationTotalEvent:build_time,datadog.trace.logging.LoggingSettingsDescription:build_time,datadog.trace.logging.simplelogger.SLCompatFactory:build_time,datadog.trace.logging.LogReporter:build_time,datadog.trace.logging.PrintStreamWrapper:build_time,datadog.trace.util.CollectionUtils:build_time,datadog.slf4j.impl.StaticLoggerBinder:build_time,datadog.slf4j.LoggerFactory:build_time,com.blogspot.mydailyjava.weaklockfree.WeakConcurrentMap:build_time,net.bytebuddy:build_time,com.sun.proxy:build_time,jnr.enxio.channels:run_time,jnr.unixsocket:run_time -H:EnableMonitoringFeatures=jfr -H:CLibraryPath=/home/matthew.alp/.sdkman/candidates/java/17.0.12-graal/lib/svm/clibraries/linux-aarch64 -H:Path=/home/matthew.alp/datadog_poc/build/native/nativeCompile -H:EnableURLProtocols@jar:file:///home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/6.1.10/876a856af61ef5712fb9a3013b798aa2b4a9475e/spring-web-6.1.10.jar!/META-INF/native-image/org.springframework/spring-web/native-image.properties=http -H:EnableURLProtocols@jar:file:///home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/6.1.10/876a856af61ef5712fb9a3013b798aa2b4a9475e/spring-web-6.1.10.jar!/META-INF/native-image/org.springframework/spring-web/native-image.properties=https -H:ClassInitialization@jar:file:///home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/6.1.10/eaf5b1f3e3bb5aa8b45ab255cf3270c1c4578f1d/spring-core-6.1.10.jar!/META-INF/native-image/org.springframework/spring-core/native-image.properties=org.springframework.aot.nativex.feature.ThrowawayClassLoader:build_time -H:Features@jar:file:///home/matthew.alp/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/6.1.10/eaf5b1f3e3bb5aa8b45ab255cf3270c1c4578f1d/spring-core-6.1.10.jar!/META-INF/native-image/org.springframework/spring-core/native-image.properties=org.springframework.aot.nativex.feature.PreComputeFieldFeature -H:ReflectionConfigurationResources@jar:file:///home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.projectreactor.netty/reactor-netty-http/1.1.20/8d4ee98405a5856cf0c9d7c1a70f3f14631e3c46/reactor-netty-http-1.1.20.jar!/META-INF/native-image/io.projectreactor.netty/reactor-netty-http/reflect-config.json=META-INF/native-image/io.projectreactor.netty/reactor-netty-http/reflect-config.json -H:ReflectionConfigurationResources@jar:file:///home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.projectreactor.netty/reactor-netty-core/1.1.20/1a5ef52a470a82d9313e2e1ad8ba064bdbd38948/reactor-netty-core-1.1.20.jar!/META-INF/native-image/io.projectreactor.netty/reactor-netty-core/reflect-config.json=META-INF/native-image/io.projectreactor.netty/reactor-netty-core/reflect-config.json -H:ReflectionConfigurationResources@jar:file:///home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.projectreactor/reactor-core/3.6.7/6d1918147645b5b8e577555a89ab271319f25d2f/reactor-core-3.6.7.jar!/META-INF/native-image/io.projectreactor/reactor-core/reflect-config.json=META-INF/native-image/io.projectreactor/reactor-core/reflect-config.json -H:ReflectionConfigurationResources@jar:file:///home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-handler-proxy/4.1.111.Final/1e459c8630bb7c942b79a97e62dd728798de6a8c/netty-handler-proxy-4.1.111.Final.jar!/META-INF/native-image/io.netty/netty-handler-proxy/generated/handlers/reflect-config.json=META-INF/native-image/io.netty/netty-handler-proxy/generated/handlers/reflect-config.json -H:ReflectionConfigurationResources@jar:file:///home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-dns/4.1.111.Final/f988dbb527efb0e7cf7d444cc50b0fc3f5f380ec/netty-codec-dns-4.1.111.Final.jar!/META-INF/native-image/io.netty/netty-codec-dns/generated/handlers/reflect-config.json=META-INF/native-image/io.netty/netty-codec-dns/generated/handlers/reflect-config.json -H:ReflectionConfigurationResources@jar:file:///home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-socks/4.1.111.Final/ea52ef6617a9b69b0baaebb7f0b80373527f9607/netty-codec-socks-4.1.111.Final.jar!/META-INF/native-image/io.netty/netty-codec-socks/generated/handlers/reflect-config.json=META-INF/native-image/io.netty/netty-codec-socks/generated/handlers/reflect-config.json -H:ClassInitialization@jar:file:///home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec/4.1.111.Final/a6762ec00a6d268f9980741f5b755838bcd658bf/netty-codec-4.1.111.Final.jar!/META-INF/native-image/io.netty/netty-codec/native-image.properties=io.netty.handler.codec.compression.BrotliDecoder:run_time -H:ReflectionConfigurationResources@jar:file:///home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec/4.1.111.Final/a6762ec00a6d268f9980741f5b755838bcd658bf/netty-codec-4.1.111.Final.jar!/META-INF/native-image/io.netty/netty-codec/generated/handlers/reflect-config.json=META-INF/native-image/io.netty/netty-codec/generated/handlers/reflect-config.json -H:ClassInitialization@jar:file:///home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-transport-classes-epoll/4.1.111.Final/8b97d32eb1489043e478deea99bd93ce487b82f6/netty-transport-classes-epoll-4.1.111.Final.jar!/META-INF/native-image/io.netty/netty-transport-classes-epoll/native-image.properties=io.netty.channel.epoll:run_time,io.netty.channel.unix.Limits:run_time,io.netty.channel.unix.IovArray:run_time,io.netty.channel.unix.Errors:run_time -H:JNIConfigurationResources@jar:file:///home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-transport-classes-epoll/4.1.111.Final/8b97d32eb1489043e478deea99bd93ce487b82f6/netty-transport-classes-epoll-4.1.111.Final.jar!/META-INF/native-image/io.netty/netty-transport-classes-epoll/jni-config.json=META-INF/native-image/io.netty/netty-transport-classes-epoll/jni-config.json -H:ReflectionConfigurationResources@jar:file:///home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-transport-classes-epoll/4.1.111.Final/8b97d32eb1489043e478deea99bd93ce487b82f6/netty-transport-classes-epoll-4.1.111.Final.jar!/META-INF/native-image/io.netty/netty-transport-classes-epoll/reflect-config.json=META-INF/native-image/io.netty/netty-transport-classes-epoll/reflect-config.json -H:ResourceConfigurationResources@jar:file:///home/matthew.alp/.gradle/caches/modules-2/files-2.1/io.netty/netty-transport-classes-epoll/4.1.111.Final/8b97d32eb1489043e478deea99bd93ce487b82f6/netty-transport-classes-epoll-4.1.111.Final.jar!/META-INF/native-image/io.netty/netty-transport-classes-epoll/resource-config.json=META-INF/native-image/io.netty/netty-transport-classes-epoll/resource-config.json -H:Class@file:///home/matthew.alp/datadog_poc/build/resources/aot/META-INF/native-image/lab.m7.poc/demo/native-image.properties=lab.m7.poc.demo.DemoApplication -H:+ReportUnsupportedElementsAtRuntime@file:///home/matthew.alp/datadog_poc/build/resources/aot/META-INF/native-image/lab.m7.poc/demo/native-image.properties -H:FallbackThreshold@file:///home/matthew.alp/datadog_poc/build/resources/aot/META-INF/native-image/lab.m7.poc/demo/native-image.properties=0 -H:+InstallExitHandlers@file:///home/matthew.alp/datadog_poc/build/resources/aot/META-INF/native-image/lab.m7.poc/demo/native-image.properties -H:ReflectionConfigurationResources@file:///home/matthew.alp/datadog_poc/build/resources/aot/META-INF/native-image/lab.m7.poc/demo/reflect-config.json=META-INF/native-image/lab.m7.poc/demo/reflect-config.json -H:ResourceConfigurationResources@file:///home/matthew.alp/datadog_poc/build/resources/aot/META-INF/native-image/lab.m7.poc/demo/resource-config.json=META-INF/native-image/lab.m7.poc/demo/resource-config.json -H:FallbackThreshold=0 -H:Name=demo -H:ConfigurationFileDirectories=/home/matthew.alp/datadog_poc/build/native/generated/generateResourcesConfigFile,/home/matthew.alp/.gradle/native-build-tools/repositories/bd3873f92af99d57fcbdc08bac26b415b089b377/exploded/ch.qos.logback/logback-classic/1.4.9,/home/matthew.alp/.gradle/native-build-tools/repositories/bd3873f92af99d57fcbdc08bac26b415b089b377/exploded/com.fasterxml.jackson.core/jackson-databind/2.15.2,/home/matthew.alp/.gradle/native-build-tools/repositories/bd3873f92af99d57fcbdc08bac26b415b089b377/exploded/io.netty/netty-codec-http/4.1.80.Final,/home/matthew.alp/.gradle/native-build-tools/repositories/bd3873f92af99d57fcbdc08bac26b415b089b377/exploded/io.netty/netty-common/4.1.80.Final,/home/matthew.alp/.gradle/native-build-tools/repositories/bd3873f92af99d57fcbdc08bac26b415b089b377/exploded/io.netty/netty-buffer/4.1.80.Final,/home/matthew.alp/.gradle/native-build-tools/repositories/bd3873f92af99d57fcbdc08bac26b415b089b377/exploded/io.netty/netty-transport/4.1.80.Final,/home/matthew.alp/.gradle/native-build-tools/repositories/bd3873f92af99d57fcbdc08bac26b415b089b377/exploded/io.netty/netty-handler/4.1.80.Final,/home/matthew.alp/.gradle/native-build-tools/repositories/bd3873f92af99d57fcbdc08bac26b415b089b377/exploded/io.netty/netty-codec-http2/4.1.80.Final,/home/matthew.alp/.gradle/native-build-tools/repositories/bd3873f92af99d57fcbdc08bac26b415b089b377/exploded/io.netty/netty-resolver-dns/4.1.80.Final,/home/matthew.alp/.gradle/native-build-tools/repositories/bd3873f92af99d57fcbdc08bac26b415b089b377/exploded/org.jetbrains.kotlin/kotlin-stdlib/1.7.10 -H:GenerateDebugInfo=2 -H:Optimize=0 -H:+IncludeDebugHelperMethods -H:EnableURLProtocols=https -H:EnableMonitoringFeatures=jfr -H:ClassInitialization=datadog.okhttp3.internal.platform.ConscryptPlatform:build_time -H:ClassInitialization=datadog.trace.bootstrap.instrumentation.jfr.directallocation.DirectAllocationSampleEvent:build_time -H:ClassInitialization=ch.qos.logback.classic:build_time -H:ClassInitialization=ch.qos.logback.core.util:build_time -H:ClassInitialization=ch.qos.logback.core:build_time -H:ClassInitialization=org.apache.commons.logging.LogFactory:build_time -H:ClassInitialization=io.grpc.netty.shaded.io.netty.handler.ssl:run_time -H:ClassInitialization=io.grpc.netty.shaded.io.netty.internal.tcnative:run_time -H:ClassInitialization=com.google.common.base:build_time -H:ClassInitialization=com.google.common.io:build_time -H:ClassInitialization=com.google.protobuf:build_time -H:ClassInitialization=com.google.common.math:build_time -H:ClassInitialization=com.google.gson:build_time -H:Features@jar:file:///home/matthew.alp/.sdkman/candidates/java/17.0.12-graal/lib/svm/library-support.jar!/META-INF/native-image/com.oracle.svm/thirdparty/native-image.properties=com.oracle.svm.thirdparty.gson.GsonFeature -H:Features@jar:file:///home/matthew.alp/.sdkman/candidates/java/17.0.12-graal/lib/svm/library-support.jar!/META-INF/native-image/com.oracle.svm/polyglot/native-image.properties=com.oracle.svm.polyglot.groovy.GroovyIndyInterfaceFeature,com.oracle.svm.polyglot.scala.ScalaFeature ```
Builder properties ``` -Dcom.oracle.graalvm.isaot=true -Ddd.profiling.directallocation.enabled=true -Ddd.profiling.enabled=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 17.0.12+8.1 -Dorg.graalvm.version=23.0.5 -Dsubstratevm.HostLibC=glibc -Dsubstratevm.IgnoreGraalVersionCheck=true -Dtruffle.TruffleRuntime=com.oracle.truffle.api.impl.DefaultTruffleRuntime -Dtruffle.TrustAllTruffleRuntimeProviders=true ```
Features enabled ``` com.oracle.svm.core.ContainersFeature, [] 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.aarch64.AArch64FrameAccessFeature, [] com.oracle.svm.core.allocationprofile.AllocationProfilingFeature, [com.oracle.svm.core.jdk.RuntimeSupportFeature] 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.aarch64.AArch64NativePatchConsumerFactoryFeature, [] com.oracle.svm.core.graal.aarch64.SubstrateAArch64Feature, [] com.oracle.svm.core.graal.aarch64.SubstrateAArch64GraphBuilderPlugins, [] 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.aarch64.AArch64ArithmeticForeignCallsFeature, [] com.oracle.svm.core.graal.snippets.aarch64.AArch64SnippetsFeature, [] com.oracle.svm.core.graal.stackvalue.StackValueFeature, [] com.oracle.svm.core.handles.ObjectHandlesSupportImplFeature, [] 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.JDKVersionSpecificResourceBuilderJDK11OrLaterFeature, [] 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.RecordSupportJDK11OrEarlierFeature, [] 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.SealedClassSupportJDK11OrEarlierFeature, [] com.oracle.svm.core.jdk.ServiceCatalogSupportFeature, [] 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.jdk17.RecordSupportJDK17OrLaterFeature, [] com.oracle.svm.core.jdk17.SealedClassSupportJDK17OrLaterFeature, [] com.oracle.svm.core.jfr.JfrFeature, [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.IgnoreSIGPIPEFeature, [] 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.aarch64.AArch64LinuxUContextRegisterDumperFeature, [] 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.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.SafepointMasterFeature, [] com.oracle.svm.core.thread.ThreadListenerSupportFeature, [] 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.aarch64.c, [] com.oracle.svm.enterprise.core.ag, [] com.oracle.svm.enterprise.core.ar, [] com.oracle.svm.enterprise.core.auximage.AuxiliaryImageHeapFeature, [] com.oracle.svm.enterprise.core.auximage.ah, [] 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.d, [] com.oracle.svm.enterprise.core.graal.jdk.a, [] com.oracle.svm.enterprise.core.heap.a, [] com.oracle.svm.enterprise.core.k, [] com.oracle.svm.enterprise.core.monitor.b, [] com.oracle.svm.enterprise.core.posix.a, [com.oracle.svm.enterprise.core.auximage.AuxiliaryImageHeapFeature] com.oracle.svm.enterprise.core.posix.graalos.b, [] 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.hosted.a, [] com.oracle.svm.enterprise.hosted.d, [] com.oracle.svm.enterprise.hosted.g, [] com.oracle.svm.enterprise.hosted.j, [] 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.hosted.q, [] com.oracle.svm.enterprise.sbom.d, [] com.oracle.svm.enterprise.truffle.PolyglotIsolateHostFeature, [] com.oracle.svm.enterprise.truffle.i, [] com.oracle.svm.enterprise.truffle.k, [com.oracle.svm.enterprise.truffle.i] com.oracle.svm.graal.RuntimeCPUFeatureRegionFeature, [] com.oracle.svm.graal.isolated.DisableSnippetCountersFeature, [] com.oracle.svm.graal.isolated.IsolateAwareObjectConstantEqualityFeature, [] com.oracle.svm.graal.meta.aarch64.AArch64RuntimeCodeInstallerPlatformHelperFeature, [] com.oracle.svm.graal.stubs.AArch64StubForeignCallsFeature, [] com.oracle.svm.hosted.AArch64CPUFeatureAccessFeature, [] 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.AnnotationSupportFeature, [] com.oracle.svm.hosted.annotation.AnnotationTypeFeature, [] com.oracle.svm.hosted.c.CGlobalDataFeature, [] 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.aarch64.AArch64HostedPatcherFeature, [] com.oracle.svm.hosted.code.aarch64.AArch64HostedTrampolineSupportFeature, [] com.oracle.svm.hosted.fieldfolding.StaticFinalFieldFoldingFeature, [] com.oracle.svm.hosted.heap.HeapDumpFeature, [] com.oracle.svm.hosted.heap.ImageHeapMapFeature, [] 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.NativeImageDebugInfoFeature, [] com.oracle.svm.hosted.image.NativeImageDebugInfoStripFeature, [] 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.jdk17.JNIRegistrationSupport_JDK17OrLater, [] com.oracle.svm.hosted.jfr.JfrEventFeature, [com.oracle.svm.core.jfr.JfrFeature] 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.VMThreadMTFeature] com.oracle.svm.hosted.thread.VMThreadMTFeature, [] com.oracle.svm.hosted.xml.JavaxXmlClassAndResourcesLoaderFeature, [] com.oracle.svm.truffle.TruffleJFRFeature, [] org.springframework.aot.nativex.feature.PreComputeFieldFeature, [] ```

Additional info

This error can be reproduced with this repo, which attempts to add a freshly-assembled-from-main DataDog APM/Profiling agent to a dummy Spring app, which is then baked into a native image. This succeeds on GraalVM 17 & 23 (desired & latest) by default, but enabling -H:+IncludeDebugHelperMethods in the nativeImage flags of the Gradle config causes the build to fail.

selhagani commented 1 day ago

Hi @MattAlp,

Thank you for reaching out to us. I just tested the reproducer you provided us with and I confirm the issue that you are facing. We will take a further look into this and I'll make sure to keep you updated.