Skip to content

Commit e29d658

Browse files
authored
Add GraalVM 25 image to CI (#9562)
* Add graalvm25 image to testing * Add flag to allow use of unsafe * Add Graalvm 25 specification to profiling * Change arg for Graalvm 25 * Add flag to start jfr recording * Try removing extra flags * Remove flag * Add JFR flag and comment * Fix comment
1 parent e1c917d commit e29d658

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ test_smoke_graalvm:
727727
NON_DEFAULT_JVMS: "true"
728728
parallel:
729729
matrix:
730-
- testJvm: ["graalvm17", "graalvm21"]
730+
- testJvm: ["graalvm17", "graalvm21", "graalvm25"]
731731

732732
test_smoke_semeru8_debugger:
733733
extends: .test_job

dd-smoke-tests/spring-boot-3.0-native/application/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ if (hasProperty('agentPath')) {
3636
// quick build mode, enough for smoke test
3737
buildArgs.add("-Ob")
3838
buildArgs.add("-J-javaagent:$agentPath")
39+
buildArgs.add("-J-Dnet.bytebuddy.safe=false")
3940
if (withProfiler && property('profiler') == 'true') {
4041
buildArgs.add("-J-Ddd.profiling.enabled=true")
4142
}

dd-smoke-tests/spring-boot-3.0-native/src/test/groovy/SpringBootNativeInstrumentationTest.groovy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ class SpringBootNativeInstrumentationTest extends AbstractServerSmokeTest {
5151
"-Ddd.trace.debug=true",
5252
"-Ddd.jmxfetch.statsd.port=${statsdPort}",
5353
"-Ddd.jmxfetch.start-delay=0",
54+
// TODO: Remove this arg after JFR initialization is fixed on GraalVM 25.
55+
// https://datadoghq.atlassian.net/browse/PROF-12742
56+
"-XX:StartFlightRecording=filename=${testJfrDir}/recording.jfr",
5457
])
5558
ProcessBuilder processBuilder = new ProcessBuilder(command)
5659
processBuilder.directory(new File(buildDirectory))

0 commit comments

Comments
 (0)