Skip to content

Conversation

@PerfectSlayer
Copy link
Contributor

@PerfectSlayer PerfectSlayer commented Oct 1, 2025

What Does This Do

This PR fixes the native build failure related to the process context sharing introduced in profiling: #9472

Motivation

Related error:

Fatal error: com.oracle.graal.pointsto.util.AnalysisError$ParsingError: Error encountered while parsing com.datadog.profiling.agent.ProfilingAgent.run(ProfilingAgent.java:94)
Parsing context:
   3,303 types,   154 fields, and 3,224 methods registered for reflection
   at datadog.trace.agent.tooling.ProfilerInstaller.installProfiler(ProfilerInstaller.java:10)
   at datadog.trace.agent.tooling.nativeimage.TracerActivation.activate(TracerActivation.java:20)
       1 native library: -framework CoreServices
   at org.graalvm.nativeimage.VMRuntime.initialize(VMRuntime.java:65)

------------------------------------------------------------------------------------------------------------------------
   at com.oracle.svm.core.JavaMainWrapper.runCore0(JavaMainWrapper.java:152)
   at com.oracle.svm.core.JavaMainWrapper.doRun(JavaMainWrapper.java:243)
   at com.oracle.svm.core.code.IsolateEnterStub.JavaMainWrapper_run_3148eece06270530b6e0d4d60311411342c82698(generated:0)
   at static root method.(Unknown Source)

        at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.AnalysisError.parsingError(AnalysisError.java:149)
        at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.createFlowsGraph(MethodTypeFlow.java:178)
        at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureFlowsGraphCreated(MethodTypeFlow.java:152)
        at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.getOrCreateMethodFlowsGraphInfo(MethodTypeFlow.java:110)
        at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.typestate.DefaultStaticInvokeTypeFlow.lambda$update$0(DefaultStaticInvokeTypeFlow.java:67)
        at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.LightImmutableCollection.forEach(LightImmutableCollection.java:90)
        at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.typestate.DefaultStaticInvokeTypeFlow.update(DefaultStaticInvokeTypeFlow.java:66)
        at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.PointsToAnalysis$1.run(PointsToAnalysis.java:474)
        at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.executeCommand(CompletionExecutor.java:187)
        at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.lambda$executeService$0(CompletionExecutor.java:171)
        at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: org.graalvm.compiler.java.BytecodeParser$BytecodeParserError: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: com.datadoghq.profiler.OTelContext. This error is reported at image build time because class com.datadog.profiling.agent.ProcessContext is registered for linking at image build time by system default
        at parsing com.datadog.profiling.agent.ProcessContext.register(ProcessContext.java:23)
        at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.throwParserError(BytecodeParser.java:2531)
        at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.throwParserError(SharedGraphBuilderPhase.java:169)
        at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.iterateBytecodesForBlock(BytecodeParser.java:3409)
        at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.iterateBytecodesForBlock(SharedGraphBuilderPhase.java:712)
        at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.handleBytecodeBlock(BytecodeParser.java:3361)
        at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.processBlock(BytecodeParser.java:3203)
        at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.build(BytecodeParser.java:1134)
        at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.build(SharedGraphBuilderPhase.java:152)
        at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.buildRootMethod(BytecodeParser.java:1026)
        at jdk.internal.vm.compiler/org.graalvm.compiler.java.GraphBuilderPhase$Instance.run(GraphBuilderPhase.java:97)
        at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.phases.SharedGraphBuilderPhase.run(SharedGraphBuilderPhase.java:114)
        at jdk.internal.vm.compiler/org.graalvm.compiler.phases.Phase.run(Phase.java:49)
        at jdk.internal.vm.compiler/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:434)
                        1.2s (7.0% of total time) in 26 GCs | Peak RSS: 1.98GB | CPU load: 5.92
        at jdk.internal.vm.compiler/org.graalvm.compiler.phases.Phase.apply(Phase.java:42)

Additional Notes

I'm trying to find out while I get this failing in local build only and CI does not complain about it.

Contributor Checklist

Jira ticket: [PROJ-IDENT]

@PerfectSlayer PerfectSlayer added type: bug Bug report and fix comp: native-image GraalVM native-image labels Oct 1, 2025
@datadog-official
Copy link

datadog-official bot commented Oct 1, 2025

🎯 Code Coverage
Patch Coverage: 100.00%
Total Coverage: 57.95% (+0.03%)

View detailed report

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: c003f12 | Docs | Was this helpful? Give us feedback!

@pr-commenter
Copy link

pr-commenter bot commented Oct 1, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master bbujon/process-sharing-native-image
git_commit_date 1759332448 1759327766
git_commit_sha ed7fe50 c003f12
release_version 1.54.0-SNAPSHOT~ed7fe50717 1.54.0-SNAPSHOT~c003f12b66
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1759334524 1759334524
ci_job_id 1157773009 1157773009
ci_pipeline_id 78093831 78093831
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-1-bdnhdj36 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-1-bdnhdj36 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
module Agent Agent
parent None None

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 57 metrics, 8 unstable metrics.

Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.54.0-SNAPSHOT~c003f12b66, baseline=1.54.0-SNAPSHOT~ed7fe50717

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.022 s) : 0, 1022308
Total [baseline] (10.795 s) : 0, 10794877
Agent [candidate] (1.029 s) : 0, 1028707
Total [candidate] (10.682 s) : 0, 10682342
section appsec
Agent [baseline] (1.191 s) : 0, 1191330
Total [baseline] (11.077 s) : 0, 11077315
Agent [candidate] (1.191 s) : 0, 1191279
Total [candidate] (11.079 s) : 0, 11079325
section iast
Agent [baseline] (1.162 s) : 0, 1161671
Total [baseline] (11.076 s) : 0, 11076005
Agent [candidate] (1.159 s) : 0, 1159302
Total [candidate] (10.925 s) : 0, 10924981
section profiling
Agent [baseline] (1.157 s) : 0, 1156999
Total [baseline] (11.021 s) : 0, 11021487
Agent [candidate] (1.159 s) : 0, 1159444
Total [candidate] (11.027 s) : 0, 11027233
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.022 s -
Agent appsec 1.191 s 169.022 ms (16.5%)
Agent iast 1.162 s 139.363 ms (13.6%)
Agent profiling 1.157 s 134.691 ms (13.2%)
Total tracing 10.795 s -
Total appsec 11.077 s 282.437 ms (2.6%)
Total iast 11.076 s 281.128 ms (2.6%)
Total profiling 11.021 s 226.609 ms (2.1%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.029 s -
Agent appsec 1.191 s 162.572 ms (15.8%)
Agent iast 1.159 s 130.595 ms (12.7%)
Agent profiling 1.159 s 130.736 ms (12.7%)
Total tracing 10.682 s -
Total appsec 11.079 s 396.983 ms (3.7%)
Total iast 10.925 s 242.639 ms (2.3%)
Total profiling 11.027 s 344.89 ms (3.2%)
gantt
    title petclinic - break down per module: candidate=1.54.0-SNAPSHOT~c003f12b66, baseline=1.54.0-SNAPSHOT~ed7fe50717

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.463 ms) : 0, 1463
crashtracking [candidate] (1.493 ms) : 0, 1493
BytebuddyAgent [baseline] (696.485 ms) : 0, 696485
BytebuddyAgent [candidate] (701.426 ms) : 0, 701426
GlobalTracer [baseline] (244.468 ms) : 0, 244468
GlobalTracer [candidate] (246.776 ms) : 0, 246776
AppSec [baseline] (31.545 ms) : 0, 31545
AppSec [candidate] (31.837 ms) : 0, 31837
Debugger [baseline] (6.404 ms) : 0, 6404
Debugger [candidate] (6.453 ms) : 0, 6453
Remote Config [baseline] (681.09 µs) : 0, 681
Remote Config [candidate] (687.339 µs) : 0, 687
Telemetry [baseline] (8.977 ms) : 0, 8977
Telemetry [candidate] (9.124 ms) : 0, 9124
Flare Poller [baseline] (10.993 ms) : 0, 10993
Flare Poller [candidate] (9.475 ms) : 0, 9475
section appsec
crashtracking [baseline] (1.449 ms) : 0, 1449
crashtracking [candidate] (1.456 ms) : 0, 1456
BytebuddyAgent [baseline] (716.319 ms) : 0, 716319
BytebuddyAgent [candidate] (716.624 ms) : 0, 716624
GlobalTracer [baseline] (235.073 ms) : 0, 235073
GlobalTracer [candidate] (234.976 ms) : 0, 234976
AppSec [baseline] (172.717 ms) : 0, 172717
AppSec [candidate] (172.261 ms) : 0, 172261
Debugger [baseline] (6.042 ms) : 0, 6042
Debugger [candidate] (6.044 ms) : 0, 6044
Remote Config [baseline] (628.781 µs) : 0, 629
Remote Config [candidate] (636.423 µs) : 0, 636
Telemetry [baseline] (8.305 ms) : 0, 8305
Telemetry [candidate] (9.078 ms) : 0, 9078
Flare Poller [baseline] (4.757 ms) : 0, 4757
Flare Poller [candidate] (3.996 ms) : 0, 3996
IAST [baseline] (24.886 ms) : 0, 24886
IAST [candidate] (25.083 ms) : 0, 25083
section iast
crashtracking [baseline] (1.463 ms) : 0, 1463
crashtracking [candidate] (1.471 ms) : 0, 1471
BytebuddyAgent [baseline] (822.061 ms) : 0, 822061
BytebuddyAgent [candidate] (820.793 ms) : 0, 820793
GlobalTracer [baseline] (236.061 ms) : 0, 236061
GlobalTracer [candidate] (235.45 ms) : 0, 235450
AppSec [baseline] (34.374 ms) : 0, 34374
AppSec [candidate] (34.14 ms) : 0, 34140
Debugger [baseline] (6.106 ms) : 0, 6106
Debugger [candidate] (6.076 ms) : 0, 6076
Remote Config [baseline] (602.142 µs) : 0, 602
Remote Config [candidate] (603.808 µs) : 0, 604
Telemetry [baseline] (8.378 ms) : 0, 8378
Telemetry [candidate] (8.353 ms) : 0, 8353
Flare Poller [baseline] (4.241 ms) : 0, 4241
Flare Poller [candidate] (4.263 ms) : 0, 4263
IAST [baseline] (26.792 ms) : 0, 26792
IAST [candidate] (26.647 ms) : 0, 26647
section profiling
ProfilingAgent [baseline] (103.171 ms) : 0, 103171
ProfilingAgent [candidate] (104.44 ms) : 0, 104440
crashtracking [baseline] (1.417 ms) : 0, 1417
crashtracking [candidate] (1.449 ms) : 0, 1449
BytebuddyAgent [baseline] (721.22 ms) : 0, 721220
BytebuddyAgent [candidate] (722.712 ms) : 0, 722712
GlobalTracer [baseline] (218.65 ms) : 0, 218650
GlobalTracer [candidate] (218.517 ms) : 0, 218517
AppSec [baseline] (31.378 ms) : 0, 31378
AppSec [candidate] (31.364 ms) : 0, 31364
Debugger [baseline] (7.331 ms) : 0, 7331
Debugger [candidate] (6.592 ms) : 0, 6592
Remote Config [baseline] (730.837 µs) : 0, 731
Remote Config [candidate] (732.219 µs) : 0, 732
Telemetry [baseline] (15.639 ms) : 0, 15639
Telemetry [candidate] (16.614 ms) : 0, 16614
Flare Poller [baseline] (4.201 ms) : 0, 4201
Flare Poller [candidate] (4.299 ms) : 0, 4299
Profiling [baseline] (104.407 ms) : 0, 104407
Profiling [candidate] (105.026 ms) : 0, 105026
Loading
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.54.0-SNAPSHOT~c003f12b66, baseline=1.54.0-SNAPSHOT~ed7fe50717

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.016 s) : 0, 1015576
Total [baseline] (8.646 s) : 0, 8646290
Agent [candidate] (1.024 s) : 0, 1024300
Total [candidate] (8.687 s) : 0, 8686948
section iast
Agent [baseline] (1.148 s) : 0, 1148368
Total [baseline] (9.268 s) : 0, 9268143
Agent [candidate] (1.157 s) : 0, 1157021
Total [candidate] (9.266 s) : 0, 9265902
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.016 s -
Agent iast 1.148 s 132.792 ms (13.1%)
Total tracing 8.646 s -
Total iast 9.268 s 621.854 ms (7.2%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.024 s -
Agent iast 1.157 s 132.721 ms (13.0%)
Total tracing 8.687 s -
Total iast 9.266 s 578.954 ms (6.7%)
gantt
    title insecure-bank - break down per module: candidate=1.54.0-SNAPSHOT~c003f12b66, baseline=1.54.0-SNAPSHOT~ed7fe50717

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.475 ms) : 0, 1475
crashtracking [candidate] (1.496 ms) : 0, 1496
BytebuddyAgent [baseline] (692.31 ms) : 0, 692310
BytebuddyAgent [candidate] (697.159 ms) : 0, 697159
GlobalTracer [baseline] (242.918 ms) : 0, 242918
GlobalTracer [candidate] (245.207 ms) : 0, 245207
AppSec [baseline] (31.371 ms) : 0, 31371
AppSec [candidate] (31.738 ms) : 0, 31738
Debugger [baseline] (6.354 ms) : 0, 6354
Debugger [candidate] (6.444 ms) : 0, 6444
Remote Config [baseline] (695.24 µs) : 0, 695
Remote Config [candidate] (706.051 µs) : 0, 706
Telemetry [baseline] (8.969 ms) : 0, 8969
Telemetry [candidate] (9.097 ms) : 0, 9097
Flare Poller [baseline] (10.289 ms) : 0, 10289
Flare Poller [candidate] (11.197 ms) : 0, 11197
section iast
crashtracking [baseline] (1.472 ms) : 0, 1472
crashtracking [candidate] (1.48 ms) : 0, 1480
BytebuddyAgent [baseline] (813.516 ms) : 0, 813516
BytebuddyAgent [candidate] (819.836 ms) : 0, 819836
GlobalTracer [baseline] (232.767 ms) : 0, 232767
GlobalTracer [candidate] (234.396 ms) : 0, 234396
IAST [baseline] (26.33 ms) : 0, 26330
IAST [candidate] (26.577 ms) : 0, 26577
AppSec [baseline] (34.031 ms) : 0, 34031
AppSec [candidate] (34.143 ms) : 0, 34143
Debugger [baseline] (5.995 ms) : 0, 5995
Debugger [candidate] (6.089 ms) : 0, 6089
Remote Config [baseline] (585.622 µs) : 0, 586
Remote Config [candidate] (601.943 µs) : 0, 602
Telemetry [baseline] (8.139 ms) : 0, 8139
Telemetry [candidate] (8.317 ms) : 0, 8317
Flare Poller [baseline] (4.22 ms) : 0, 4220
Flare Poller [candidate] (4.183 ms) : 0, 4183
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master bbujon/process-sharing-native-image
git_commit_date 1759332448 1759327766
git_commit_sha ed7fe50 c003f12
release_version 1.54.0-SNAPSHOT~ed7fe50717 1.54.0-SNAPSHOT~c003f12b66
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1759334267 1759334267
ci_job_id 1157773011 1157773011
ci_pipeline_id 78093831 78093831
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-1-1lcef076 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-1-1lcef076 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

Found 3 performance improvements and 1 performance regressions! Performance is the same for 8 metrics, 12 unstable metrics.

scenario Δ mean http_req_duration Δ mean throughput candidate mean http_req_duration candidate mean throughput baseline mean http_req_duration baseline mean throughput
scenario:load:petclinic:profiling:high_load better
[-4.072ms; -3.140ms] or [-8.155%; -6.289%]
unstable
[-0.145op/s; +14.695op/s] or [-0.155%; +15.679%]
46.323ms 101.000op/s 49.929ms 93.725op/s
scenario:load:petclinic:no_agent:high_load worse
[+1.680ms; +2.308ms] or [+4.767%; +6.546%]
unstable
[-15.981op/s; +1.931op/s] or [-12.056%; +1.457%]
37.247ms 125.525op/s 35.253ms 132.550op/s
scenario:load:petclinic:iast:high_load better
[-2.495ms; -1.664ms] or [-5.394%; -3.596%]
unstable
[-2.761op/s; +12.311op/s] or [-2.730%; +12.174%]
44.180ms 105.900op/s 46.260ms 101.125op/s
scenario:load:petclinic:tracing:high_load better
[-2.699ms; -1.849ms] or [-5.812%; -3.983%]
unstable
[-2.462op/s; +12.812op/s] or [-2.443%; +12.712%]
44.153ms 105.963op/s 46.427ms 100.787op/s
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.54.0-SNAPSHOT~c003f12b66, baseline=1.54.0-SNAPSHOT~ed7fe50717
    dateFormat X
    axisFormat %s
section baseline
no_agent (4.354 ms) : 4304, 4404
.   : milestone, 4354,
iast (10.151 ms) : 9983, 10319
.   : milestone, 10151,
iast_FULL (14.747 ms) : 14453, 15042
.   : milestone, 14747,
iast_GLOBAL (10.567 ms) : 10359, 10775
.   : milestone, 10567,
profiling (8.861 ms) : 8711, 9010
.   : milestone, 8861,
tracing (7.782 ms) : 7671, 7893
.   : milestone, 7782,
section candidate
no_agent (4.422 ms) : 4370, 4474
.   : milestone, 4422,
iast (9.863 ms) : 9696, 10030
.   : milestone, 9863,
iast_FULL (14.332 ms) : 14040, 14625
.   : milestone, 14332,
iast_GLOBAL (10.533 ms) : 10347, 10718
.   : milestone, 10533,
profiling (8.964 ms) : 8826, 9103
.   : milestone, 8964,
tracing (7.794 ms) : 7674, 7913
.   : milestone, 7794,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.354 ms [4.304 ms, 4.404 ms] -
iast 10.151 ms [9.983 ms, 10.319 ms] 5.797 ms (133.1%)
iast_FULL 14.747 ms [14.453 ms, 15.042 ms] 10.393 ms (238.7%)
iast_GLOBAL 10.567 ms [10.359 ms, 10.775 ms] 6.213 ms (142.7%)
profiling 8.861 ms [8.711 ms, 9.01 ms] 4.506 ms (103.5%)
tracing 7.782 ms [7.671 ms, 7.893 ms] 3.428 ms (78.7%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.422 ms [4.37 ms, 4.474 ms] -
iast 9.863 ms [9.696 ms, 10.03 ms] 5.44 ms (123.0%)
iast_FULL 14.332 ms [14.04 ms, 14.625 ms] 9.91 ms (224.1%)
iast_GLOBAL 10.533 ms [10.347 ms, 10.718 ms] 6.11 ms (138.2%)
profiling 8.964 ms [8.826 ms, 9.103 ms] 4.542 ms (102.7%)
tracing 7.794 ms [7.674 ms, 7.913 ms] 3.371 ms (76.2%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.54.0-SNAPSHOT~c003f12b66, baseline=1.54.0-SNAPSHOT~ed7fe50717
    dateFormat X
    axisFormat %s
section baseline
no_agent (35.253 ms) : 34974, 35533
.   : milestone, 35253,
appsec (49.227 ms) : 48783, 49672
.   : milestone, 49227,
code_origins (44.093 ms) : 43709, 44477
.   : milestone, 44093,
iast (46.26 ms) : 45863, 46656
.   : milestone, 46260,
profiling (49.929 ms) : 49462, 50395
.   : milestone, 49929,
tracing (46.427 ms) : 46015, 46838
.   : milestone, 46427,
section candidate
no_agent (37.247 ms) : 36944, 37550
.   : milestone, 37247,
appsec (47.893 ms) : 47458, 48329
.   : milestone, 47893,
code_origins (44.364 ms) : 43977, 44752
.   : milestone, 44364,
iast (44.18 ms) : 43804, 44557
.   : milestone, 44180,
profiling (46.323 ms) : 45926, 46719
.   : milestone, 46323,
tracing (44.153 ms) : 43776, 44530
.   : milestone, 44153,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 35.253 ms [34.974 ms, 35.533 ms] -
appsec 49.227 ms [48.783 ms, 49.672 ms] 13.974 ms (39.6%)
code_origins 44.093 ms [43.709 ms, 44.477 ms] 8.84 ms (25.1%)
iast 46.26 ms [45.863 ms, 46.656 ms] 11.007 ms (31.2%)
profiling 49.929 ms [49.462 ms, 50.395 ms] 14.675 ms (41.6%)
tracing 46.427 ms [46.015 ms, 46.838 ms] 11.174 ms (31.7%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 37.247 ms [36.944 ms, 37.55 ms] -
appsec 47.893 ms [47.458 ms, 48.329 ms] 10.646 ms (28.6%)
code_origins 44.364 ms [43.977 ms, 44.752 ms] 7.117 ms (19.1%)
iast 44.18 ms [43.804 ms, 44.557 ms] 6.933 ms (18.6%)
profiling 46.323 ms [45.926 ms, 46.719 ms] 9.075 ms (24.4%)
tracing 44.153 ms [43.776 ms, 44.53 ms] 6.906 ms (18.5%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master bbujon/process-sharing-native-image
git_commit_date 1759332448 1759327766
git_commit_sha ed7fe50 c003f12
release_version 1.54.0-SNAPSHOT~ed7fe50717 1.54.0-SNAPSHOT~c003f12b66
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1759334764 1759334764
ci_job_id 1157773013 1157773013
ci_pipeline_id 78093831 78093831
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-0-d30ejdqn 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-0-d30ejdqn 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 1 unstable metrics.

Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.54.0-SNAPSHOT~c003f12b66, baseline=1.54.0-SNAPSHOT~ed7fe50717
    dateFormat X
    axisFormat %s
section baseline
no_agent (14.71 s) : 14710000, 14710000
.   : milestone, 14710000,
appsec (15.327 s) : 15327000, 15327000
.   : milestone, 15327000,
iast (18.796 s) : 18796000, 18796000
.   : milestone, 18796000,
iast_GLOBAL (17.769 s) : 17769000, 17769000
.   : milestone, 17769000,
profiling (15.087 s) : 15087000, 15087000
.   : milestone, 15087000,
tracing (15.285 s) : 15285000, 15285000
.   : milestone, 15285000,
section candidate
no_agent (15.548 s) : 15548000, 15548000
.   : milestone, 15548000,
appsec (15.235 s) : 15235000, 15235000
.   : milestone, 15235000,
iast (18.73 s) : 18730000, 18730000
.   : milestone, 18730000,
iast_GLOBAL (18.08 s) : 18080000, 18080000
.   : milestone, 18080000,
profiling (15.399 s) : 15399000, 15399000
.   : milestone, 15399000,
tracing (15.135 s) : 15135000, 15135000
.   : milestone, 15135000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.71 s [14.71 s, 14.71 s] -
appsec 15.327 s [15.327 s, 15.327 s] 617.0 ms (4.2%)
iast 18.796 s [18.796 s, 18.796 s] 4.086 s (27.8%)
iast_GLOBAL 17.769 s [17.769 s, 17.769 s] 3.059 s (20.8%)
profiling 15.087 s [15.087 s, 15.087 s] 377.0 ms (2.6%)
tracing 15.285 s [15.285 s, 15.285 s] 575.0 ms (3.9%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.548 s [15.548 s, 15.548 s] -
appsec 15.235 s [15.235 s, 15.235 s] -313.0 ms (-2.0%)
iast 18.73 s [18.73 s, 18.73 s] 3.182 s (20.5%)
iast_GLOBAL 18.08 s [18.08 s, 18.08 s] 2.532 s (16.3%)
profiling 15.399 s [15.399 s, 15.399 s] -149.0 ms (-1.0%)
tracing 15.135 s [15.135 s, 15.135 s] -413.0 ms (-2.7%)
Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.54.0-SNAPSHOT~c003f12b66, baseline=1.54.0-SNAPSHOT~ed7fe50717
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.485 ms) : 1473, 1497
.   : milestone, 1485,
appsec (3.726 ms) : 3509, 3942
.   : milestone, 3726,
iast (2.207 ms) : 2144, 2270
.   : milestone, 2207,
iast_GLOBAL (2.243 ms) : 2179, 2307
.   : milestone, 2243,
profiling (2.076 ms) : 2023, 2129
.   : milestone, 2076,
tracing (2.032 ms) : 1982, 2081
.   : milestone, 2032,
section candidate
no_agent (1.477 ms) : 1465, 1488
.   : milestone, 1477,
appsec (3.729 ms) : 3509, 3948
.   : milestone, 3729,
iast (2.202 ms) : 2138, 2266
.   : milestone, 2202,
iast_GLOBAL (2.246 ms) : 2183, 2309
.   : milestone, 2246,
profiling (2.047 ms) : 1996, 2098
.   : milestone, 2047,
tracing (2.032 ms) : 1982, 2081
.   : milestone, 2032,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.485 ms [1.473 ms, 1.497 ms] -
appsec 3.726 ms [3.509 ms, 3.942 ms] 2.241 ms (150.9%)
iast 2.207 ms [2.144 ms, 2.27 ms] 722.041 µs (48.6%)
iast_GLOBAL 2.243 ms [2.179 ms, 2.307 ms] 757.922 µs (51.0%)
profiling 2.076 ms [2.023 ms, 2.129 ms] 591.162 µs (39.8%)
tracing 2.032 ms [1.982 ms, 2.081 ms] 546.902 µs (36.8%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.477 ms [1.465 ms, 1.488 ms] -
appsec 3.729 ms [3.509 ms, 3.948 ms] 2.252 ms (152.5%)
iast 2.202 ms [2.138 ms, 2.266 ms] 725.123 µs (49.1%)
iast_GLOBAL 2.246 ms [2.183 ms, 2.309 ms] 769.315 µs (52.1%)
profiling 2.047 ms [1.996 ms, 2.098 ms] 569.87 µs (38.6%)
tracing 2.032 ms [1.982 ms, 2.081 ms] 554.826 µs (37.6%)

@PerfectSlayer PerfectSlayer marked this pull request as ready for review October 2, 2025 07:04
@PerfectSlayer PerfectSlayer requested a review from a team as a code owner October 2, 2025 07:04
Copy link
Contributor Author

@PerfectSlayer PerfectSlayer left a comment

Choose a reason for hiding this comment

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

Reviewed offline by @jbachorik too

@PerfectSlayer PerfectSlayer merged commit bd72002 into master Oct 2, 2025
1183 of 1188 checks passed
@PerfectSlayer PerfectSlayer deleted the bbujon/process-sharing-native-image branch October 2, 2025 08:33
@github-actions github-actions bot added this to the 1.54.0 milestone Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: native-image GraalVM native-image type: bug Bug report and fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants