Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ test_smoke_graalvm:
NON_DEFAULT_JVMS: "true"
parallel:
matrix:
- testJvm: ["graalvm17", "graalvm21"]
- testJvm: ["graalvm17", "graalvm21", "graalvm25"]

test_smoke_semeru8_debugger:
extends: .test_job
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ if (hasProperty('agentPath')) {
// quick build mode, enough for smoke test
buildArgs.add("-Ob")
buildArgs.add("-J-javaagent:$agentPath")
buildArgs.add("-J-Dnet.bytebuddy.safe=false")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still needed after #9569

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I believe the net.bytebuddy.nexus.disabled flag from #9569 relates to the Nexus mechanism specifically (that uses Unsafe), while this PR's flag is the one that resolves the Cannot get defined package using reflection: Use of Unsafe was disabled by system property error.

if (withProfiler && property('profiler') == 'true') {
buildArgs.add("-J-Ddd.profiling.enabled=true")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ class SpringBootNativeInstrumentationTest extends AbstractServerSmokeTest {
"-Ddd.trace.debug=true",
"-Ddd.jmxfetch.statsd.port=${statsdPort}",
"-Ddd.jmxfetch.start-delay=0",
// TODO: Remove this arg after JFR initialization is fixed on GraalVM 25.
// https://datadoghq.atlassian.net/browse/PROF-12742
"-XX:StartFlightRecording=filename=${testJfrDir}/recording.jfr",
])
ProcessBuilder processBuilder = new ProcessBuilder(command)
processBuilder.directory(new File(buildDirectory))
Expand Down