Add graalvm-native-images: Boot 4.1 + GraalVM CE for JDK 25, AOT processing,
the tracing agent, and a real reflection-collision trap Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01EQNA6DJ9VgCtW6zhCE8Xud
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
$ ./target/graalvm-native-images --server.port=8082
|
||||
Starting AOT-processed GraalvmDemoApplication using Java 25.0.2 with PID 1234 (/tmp/sbd-work/spring-boot-demo/graalvm-native-images/target/graalvm-native-images started by root in /tmp/sbd-work/spring-boot-demo/graalvm-native-images)
|
||||
Tomcat started on port 8082 (http) with context path '/'
|
||||
Started GraalvmDemoApplication in 0.091 seconds (process running for 0.097)
|
||||
|
||||
$ ps -o rss= -p 1234
|
||||
107984
|
||||
|
||||
$ curl -s "localhost:8082/report?format=plain"
|
||||
REFLECTION-FAILED class=com.ankurm.graalvmdemo.report.PlainTextReport exception=java.lang.ClassNotFoundException message=com.ankurm.graalvmdemo.report.PlainTextReport
|
||||
|
||||
$ curl -s "localhost:8082/report?format=json"
|
||||
REFLECTION-FAILED class=com.ankurm.graalvmdemo.report.JsonReport exception=java.lang.ClassNotFoundException message=com.ankurm.graalvmdemo.report.JsonReport
|
||||
Reference in New Issue
Block a user