Skip to content

Add Java 26 support to CI Visibility#10839

Open
daniel-mohedano wants to merge 10 commits intomasterfrom
daniel.mohedano/java26-support-module-redefinition
Open

Add Java 26 support to CI Visibility#10839
daniel-mohedano wants to merge 10 commits intomasterfrom
daniel.mohedano/java26-support-module-redefinition

Conversation

@daniel-mohedano
Copy link
Contributor

@daniel-mohedano daniel-mohedano commented Mar 13, 2026

What Does This Do

  • Introduces fixes to support Java 26 in CI Visibility. Before them, the following failures were encountered in the smoke tests:
ERROR: java.lang.IllegalAccessError: class datadog.compiler.DatadogCompilerPlugin (in unnamed module @0xe23af91) cannot access class com.sun.tools.javac.api.BasicJavacTask (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.api to unnamed module @0xe23af91
  • The error was due to https://github.com/DataDog/dd-javac-plugin using burningwave to export the jdk.compiler module to unnamed modules (where the code of the plugin lives). The method used, StaticComponentContainer.Modules.exportToAllUnnamed, now fails in Java 26, causing compilation failures or wrong source information on span comparison because the compiler plugin is auto-injected when CI Visibility is enabled.
  • The solution is to perform a similar action of adding the necessary exports but from the agent when the compiler plugin is auto configured.

Additional Notes

  • Possible failure points:
    • Forked compilation in Maven or Gradle without the agent being present in the compiler's process. Both Gradle and Maven default to false.
      • In Gradle's case, the compiler plugin failure will not actually fail the build process because Gradle already exports some of the necessary packages (enough for the initialization to work). So the test session will be executed as normal and the source information gathering will fallback to the RepoIndex approach.
      • To avoid failures in Maven's case, the compiler plugin could be updated to try and handle gracefully failures during initialization due to IllegalAccessError.
  • Customers using the standalone compiler plugin without auto-injection. The documentation for the plugin will be updated to reflect the necessary steps when using it without the agent
  • All in all, with 26 not being an LTS version we don't expect much impact on customer's side for now (telemetry only reports <0.2% usage of non-LTS versions).

Smoke tests now running in the tip job:

image

test-environment-trigger: skip

Contributor Checklist

Jira ticket: [PROJ-IDENT]

Note: Once your PR is ready to merge, add it to the merge queue by commenting /merge. /merge -c cancels the queue request. /merge -f --reason "reason" skips all merge queue checks; please use this judiciously, as some checks do not run at the PR-level. For more information, see this doc.

@pr-commenter
Copy link

pr-commenter bot commented Mar 13, 2026

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master daniel.mohedano/java26-support-module-redefinition
git_commit_date 1773414187 1773420209
git_commit_sha 7cff994 adb3df5
release_version 1.61.0-SNAPSHOT~7cff99444b 1.61.0-SNAPSHOT~adb3df5bd2
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1773421952 1773421952
ci_job_id 1505047929 1505047929
ci_pipeline_id 102422427 102422427
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-rjybb9g6 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-rjybb9g6 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 62 metrics, 9 unstable metrics.

Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.61.0-SNAPSHOT~adb3df5bd2, baseline=1.61.0-SNAPSHOT~7cff99444b

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.063 s) : 0, 1062507
Total [baseline] (11.005 s) : 0, 11005123
Agent [candidate] (1.069 s) : 0, 1068662
Total [candidate] (11.089 s) : 0, 11089402
section appsec
Agent [baseline] (1.244 s) : 0, 1243739
Total [baseline] (11.192 s) : 0, 11191538
Agent [candidate] (1.256 s) : 0, 1255730
Total [candidate] (11.177 s) : 0, 11177402
section iast
Agent [baseline] (1.226 s) : 0, 1225858
Total [baseline] (11.279 s) : 0, 11279471
Agent [candidate] (1.234 s) : 0, 1234066
Total [candidate] (11.318 s) : 0, 11317594
section profiling
Agent [baseline] (1.19 s) : 0, 1189579
Total [baseline] (11.065 s) : 0, 11064600
Agent [candidate] (1.178 s) : 0, 1177602
Total [candidate] (10.991 s) : 0, 10991205
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.063 s -
Agent appsec 1.244 s 181.231 ms (17.1%)
Agent iast 1.226 s 163.351 ms (15.4%)
Agent profiling 1.19 s 127.071 ms (12.0%)
Total tracing 11.005 s -
Total appsec 11.192 s 186.414 ms (1.7%)
Total iast 11.279 s 274.347 ms (2.5%)
Total profiling 11.065 s 59.477 ms (0.5%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.069 s -
Agent appsec 1.256 s 187.068 ms (17.5%)
Agent iast 1.234 s 165.404 ms (15.5%)
Agent profiling 1.178 s 108.939 ms (10.2%)
Total tracing 11.089 s -
Total appsec 11.177 s 88.0 ms (0.8%)
Total iast 11.318 s 228.193 ms (2.1%)
Total profiling 10.991 s -98.197 ms (-0.9%)
gantt
    title petclinic - break down per module: candidate=1.61.0-SNAPSHOT~adb3df5bd2, baseline=1.61.0-SNAPSHOT~7cff99444b

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.193 ms) : 0, 1193
crashtracking [candidate] (1.209 ms) : 0, 1209
BytebuddyAgent [baseline] (628.963 ms) : 0, 628963
BytebuddyAgent [candidate] (633.689 ms) : 0, 633689
AgentMeter [baseline] (29.158 ms) : 0, 29158
AgentMeter [candidate] (29.298 ms) : 0, 29298
GlobalTracer [baseline] (257.429 ms) : 0, 257429
GlobalTracer [candidate] (258.751 ms) : 0, 258751
AppSec [baseline] (31.552 ms) : 0, 31552
AppSec [candidate] (31.659 ms) : 0, 31659
Debugger [baseline] (59.375 ms) : 0, 59375
Debugger [candidate] (59.87 ms) : 0, 59870
Remote Config [baseline] (614.961 µs) : 0, 615
Remote Config [candidate] (610.424 µs) : 0, 610
Telemetry [baseline] (8.715 ms) : 0, 8715
Telemetry [candidate] (8.708 ms) : 0, 8708
Flare Poller [baseline] (9.426 ms) : 0, 9426
Flare Poller [candidate] (8.763 ms) : 0, 8763
section appsec
crashtracking [baseline] (1.194 ms) : 0, 1194
crashtracking [candidate] (1.228 ms) : 0, 1228
BytebuddyAgent [baseline] (656.84 ms) : 0, 656840
BytebuddyAgent [candidate] (663.848 ms) : 0, 663848
AgentMeter [baseline] (12.043 ms) : 0, 12043
AgentMeter [candidate] (12.153 ms) : 0, 12153
GlobalTracer [baseline] (257.274 ms) : 0, 257274
GlobalTracer [candidate] (260.341 ms) : 0, 260341
IAST [baseline] (23.885 ms) : 0, 23885
IAST [candidate] (24.214 ms) : 0, 24214
AppSec [baseline] (177.345 ms) : 0, 177345
AppSec [candidate] (178.272 ms) : 0, 178272
Debugger [baseline] (65.683 ms) : 0, 65683
Debugger [candidate] (65.96 ms) : 0, 65960
Remote Config [baseline] (579.309 µs) : 0, 579
Remote Config [candidate] (573.178 µs) : 0, 573
Telemetry [baseline] (9.035 ms) : 0, 9035
Telemetry [candidate] (9.064 ms) : 0, 9064
Flare Poller [baseline] (3.675 ms) : 0, 3675
Flare Poller [candidate] (3.644 ms) : 0, 3644
section iast
crashtracking [baseline] (1.2 ms) : 0, 1200
crashtracking [candidate] (1.205 ms) : 0, 1205
BytebuddyAgent [baseline] (795.202 ms) : 0, 795202
BytebuddyAgent [candidate] (801.229 ms) : 0, 801229
AgentMeter [baseline] (11.354 ms) : 0, 11354
AgentMeter [candidate] (11.556 ms) : 0, 11556
GlobalTracer [baseline] (247.365 ms) : 0, 247365
GlobalTracer [candidate] (247.983 ms) : 0, 247983
IAST [baseline] (25.081 ms) : 0, 25081
IAST [candidate] (25.21 ms) : 0, 25210
AppSec [baseline] (26.448 ms) : 0, 26448
AppSec [candidate] (26.579 ms) : 0, 26579
Debugger [baseline] (64.412 ms) : 0, 64412
Debugger [candidate] (66.567 ms) : 0, 66567
Remote Config [baseline] (529.621 µs) : 0, 530
Remote Config [candidate] (537.133 µs) : 0, 537
Telemetry [baseline] (13.722 ms) : 0, 13722
Telemetry [candidate] (12.843 ms) : 0, 12843
Flare Poller [baseline] (4.563 ms) : 0, 4563
Flare Poller [candidate] (4.336 ms) : 0, 4336
section profiling
crashtracking [baseline] (1.174 ms) : 0, 1174
crashtracking [candidate] (1.171 ms) : 0, 1171
BytebuddyAgent [baseline] (686.689 ms) : 0, 686689
BytebuddyAgent [candidate] (680.22 ms) : 0, 680220
AgentMeter [baseline] (8.652 ms) : 0, 8652
AgentMeter [candidate] (8.608 ms) : 0, 8608
GlobalTracer [baseline] (217.087 ms) : 0, 217087
GlobalTracer [candidate] (214.96 ms) : 0, 214960
AppSec [baseline] (32.062 ms) : 0, 32062
AppSec [candidate] (31.732 ms) : 0, 31732
Debugger [baseline] (61.878 ms) : 0, 61878
Debugger [candidate] (61.752 ms) : 0, 61752
Remote Config [baseline] (576.535 µs) : 0, 577
Remote Config [candidate] (596.757 µs) : 0, 597
Telemetry [baseline] (11.418 ms) : 0, 11418
Telemetry [candidate] (10.435 ms) : 0, 10435
Flare Poller [baseline] (4.422 ms) : 0, 4422
Flare Poller [candidate] (4.231 ms) : 0, 4231
ProfilingAgent [baseline] (94.627 ms) : 0, 94627
ProfilingAgent [candidate] (93.385 ms) : 0, 93385
Profiling [baseline] (95.191 ms) : 0, 95191
Profiling [candidate] (93.94 ms) : 0, 93940
Loading
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.61.0-SNAPSHOT~adb3df5bd2, baseline=1.61.0-SNAPSHOT~7cff99444b

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.059 s) : 0, 1058725
Total [baseline] (8.812 s) : 0, 8812379
Agent [candidate] (1.065 s) : 0, 1065046
Total [candidate] (8.853 s) : 0, 8853075
section iast
Agent [baseline] (1.228 s) : 0, 1227991
Total [baseline] (9.54 s) : 0, 9539690
Agent [candidate] (1.228 s) : 0, 1228130
Total [candidate] (9.56 s) : 0, 9560200
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.059 s -
Agent iast 1.228 s 169.266 ms (16.0%)
Total tracing 8.812 s -
Total iast 9.54 s 727.311 ms (8.3%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.065 s -
Agent iast 1.228 s 163.084 ms (15.3%)
Total tracing 8.853 s -
Total iast 9.56 s 707.125 ms (8.0%)
gantt
    title insecure-bank - break down per module: candidate=1.61.0-SNAPSHOT~adb3df5bd2, baseline=1.61.0-SNAPSHOT~7cff99444b

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.197 ms) : 0, 1197
crashtracking [candidate] (1.203 ms) : 0, 1203
BytebuddyAgent [baseline] (628.416 ms) : 0, 628416
BytebuddyAgent [candidate] (632.688 ms) : 0, 632688
AgentMeter [baseline] (29.121 ms) : 0, 29121
AgentMeter [candidate] (29.277 ms) : 0, 29277
GlobalTracer [baseline] (257.0 ms) : 0, 257000
GlobalTracer [candidate] (259.118 ms) : 0, 259118
AppSec [baseline] (31.573 ms) : 0, 31573
AppSec [candidate] (31.749 ms) : 0, 31749
Debugger [baseline] (58.697 ms) : 0, 58697
Debugger [candidate] (59.03 ms) : 0, 59030
Remote Config [baseline] (617.577 µs) : 0, 618
Remote Config [candidate] (618.909 µs) : 0, 619
Telemetry [baseline] (8.74 ms) : 0, 8740
Telemetry [candidate] (8.712 ms) : 0, 8712
Flare Poller [baseline] (7.273 ms) : 0, 7273
Flare Poller [candidate] (6.455 ms) : 0, 6455
section iast
crashtracking [baseline] (1.197 ms) : 0, 1197
crashtracking [candidate] (1.195 ms) : 0, 1195
BytebuddyAgent [baseline] (797.108 ms) : 0, 797108
BytebuddyAgent [candidate] (797.084 ms) : 0, 797084
AgentMeter [baseline] (11.337 ms) : 0, 11337
AgentMeter [candidate] (11.31 ms) : 0, 11310
GlobalTracer [baseline] (247.424 ms) : 0, 247424
GlobalTracer [candidate] (248.029 ms) : 0, 248029
IAST [baseline] (25.181 ms) : 0, 25181
IAST [candidate] (25.181 ms) : 0, 25181
AppSec [baseline] (26.355 ms) : 0, 26355
AppSec [candidate] (26.443 ms) : 0, 26443
Debugger [baseline] (63.008 ms) : 0, 63008
Debugger [candidate] (62.648 ms) : 0, 62648
Remote Config [baseline] (523.826 µs) : 0, 524
Remote Config [candidate] (514.941 µs) : 0, 515
Telemetry [baseline] (14.837 ms) : 0, 14837
Telemetry [candidate] (14.84 ms) : 0, 14840
Flare Poller [baseline] (4.877 ms) : 0, 4877
Flare Poller [candidate] (4.86 ms) : 0, 4860
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master daniel.mohedano/java26-support-module-redefinition
git_commit_date 1773414187 1773420209
git_commit_sha 7cff994 adb3df5
release_version 1.61.0-SNAPSHOT~7cff99444b 1.61.0-SNAPSHOT~adb3df5bd2
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1773422432 1773422432
ci_job_id 1505047930 1505047930
ci_pipeline_id 102422427 102422427
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-phrwpet8 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-phrwpet8 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 16 metrics, 16 unstable metrics.

scenario Δ mean agg_http_req_duration_p50 Δ mean agg_http_req_duration_p95 Δ mean throughput candidate mean agg_http_req_duration_p50 candidate mean agg_http_req_duration_p95 candidate mean throughput baseline mean agg_http_req_duration_p50 baseline mean agg_http_req_duration_p95 baseline mean throughput
scenario:load:insecure-bank:iast:high_load better
[-177.590µs; -67.622µs] or [-7.039%; -2.680%]
unsure
[-518.184µs; -101.383µs] or [-7.072%; -1.384%]
unstable
[-68.513op/s; +193.388op/s] or [-4.829%; +13.630%]
2.401ms 7.017ms 1481.250op/s 2.523ms 7.327ms 1418.812op/s
scenario:load:petclinic:iast:high_load worse
[+0.744ms; +1.545ms] or [+4.266%; +8.867%]
unsure
[+0.393ms; +1.967ms] or [+1.372%; +6.872%]
unstable
[-41.049op/s; +14.111op/s] or [-15.696%; +5.396%]
18.573ms 29.805ms 248.062op/s 17.428ms 28.625ms 261.531op/s
scenario:load:petclinic:tracing:high_load better
[-1450.925µs; -475.836µs] or [-7.940%; -2.604%]
better
[-2.627ms; -0.613ms] or [-8.881%; -2.074%]
unstable
[-17.033op/s; +39.783op/s] or [-6.773%; +15.818%]
17.310ms 27.961ms 262.875op/s 18.273ms 29.582ms 251.500op/s
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.61.0-SNAPSHOT~adb3df5bd2, baseline=1.61.0-SNAPSHOT~7cff99444b
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.193 ms) : 1180, 1205
.   : milestone, 1193,
iast (3.225 ms) : 3181, 3268
.   : milestone, 3225,
iast_FULL (6.007 ms) : 5946, 6067
.   : milestone, 6007,
iast_GLOBAL (3.538 ms) : 3480, 3596
.   : milestone, 3538,
profiling (2.12 ms) : 2100, 2141
.   : milestone, 2120,
tracing (1.759 ms) : 1745, 1774
.   : milestone, 1759,
section candidate
no_agent (1.183 ms) : 1171, 1194
.   : milestone, 1183,
iast (3.086 ms) : 3044, 3127
.   : milestone, 3086,
iast_FULL (5.82 ms) : 5763, 5878
.   : milestone, 5820,
iast_GLOBAL (3.516 ms) : 3470, 3562
.   : milestone, 3516,
profiling (2.083 ms) : 2063, 2102
.   : milestone, 2083,
tracing (1.768 ms) : 1754, 1783
.   : milestone, 1768,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.193 ms [1.18 ms, 1.205 ms] -
iast 3.225 ms [3.181 ms, 3.268 ms] 2.032 ms (170.3%)
iast_FULL 6.007 ms [5.946 ms, 6.067 ms] 4.814 ms (403.6%)
iast_GLOBAL 3.538 ms [3.48 ms, 3.596 ms] 2.345 ms (196.6%)
profiling 2.12 ms [2.1 ms, 2.141 ms] 927.349 µs (77.7%)
tracing 1.759 ms [1.745 ms, 1.774 ms] 566.353 µs (47.5%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.183 ms [1.171 ms, 1.194 ms] -
iast 3.086 ms [3.044 ms, 3.127 ms] 1.903 ms (160.9%)
iast_FULL 5.82 ms [5.763 ms, 5.878 ms] 4.638 ms (392.1%)
iast_GLOBAL 3.516 ms [3.47 ms, 3.562 ms] 2.333 ms (197.3%)
profiling 2.083 ms [2.063 ms, 2.102 ms] 900.135 µs (76.1%)
tracing 1.768 ms [1.754 ms, 1.783 ms] 585.78 µs (49.5%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.61.0-SNAPSHOT~adb3df5bd2, baseline=1.61.0-SNAPSHOT~7cff99444b
    dateFormat X
    axisFormat %s
section baseline
no_agent (17.434 ms) : 17257, 17610
.   : milestone, 17434,
appsec (18.63 ms) : 18445, 18814
.   : milestone, 18630,
code_origins (18.607 ms) : 18417, 18796
.   : milestone, 18607,
iast (17.84 ms) : 17662, 18018
.   : milestone, 17840,
profiling (18.886 ms) : 18701, 19071
.   : milestone, 18886,
tracing (18.555 ms) : 18368, 18742
.   : milestone, 18555,
section candidate
no_agent (17.861 ms) : 17680, 18041
.   : milestone, 17861,
appsec (18.627 ms) : 18437, 18816
.   : milestone, 18627,
code_origins (17.877 ms) : 17698, 18055
.   : milestone, 17877,
iast (18.819 ms) : 18629, 19009
.   : milestone, 18819,
profiling (18.774 ms) : 18581, 18967
.   : milestone, 18774,
tracing (17.744 ms) : 17569, 17920
.   : milestone, 17744,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 17.434 ms [17.257 ms, 17.61 ms] -
appsec 18.63 ms [18.445 ms, 18.814 ms] 1.196 ms (6.9%)
code_origins 18.607 ms [18.417 ms, 18.796 ms] 1.173 ms (6.7%)
iast 17.84 ms [17.662 ms, 18.018 ms] 406.246 µs (2.3%)
profiling 18.886 ms [18.701 ms, 19.071 ms] 1.452 ms (8.3%)
tracing 18.555 ms [18.368 ms, 18.742 ms] 1.121 ms (6.4%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 17.861 ms [17.68 ms, 18.041 ms] -
appsec 18.627 ms [18.437 ms, 18.816 ms] 765.92 µs (4.3%)
code_origins 17.877 ms [17.698 ms, 18.055 ms] 16.035 µs (0.1%)
iast 18.819 ms [18.629 ms, 19.009 ms] 958.613 µs (5.4%)
profiling 18.774 ms [18.581 ms, 18.967 ms] 913.427 µs (5.1%)
tracing 17.744 ms [17.569 ms, 17.92 ms] -116.289 µs (-0.7%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master daniel.mohedano/java26-support-module-redefinition
git_commit_date 1773414187 1773420209
git_commit_sha 7cff994 adb3df5
release_version 1.61.0-SNAPSHOT~7cff99444b 1.61.0-SNAPSHOT~adb3df5bd2
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1773422173 1773422173
ci_job_id 1505047931 1505047931
ci_pipeline_id 102422427 102422427
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-1uihsgat 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-1uihsgat 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 10 metrics, 2 unstable metrics.

Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.61.0-SNAPSHOT~adb3df5bd2, baseline=1.61.0-SNAPSHOT~7cff99444b
    dateFormat X
    axisFormat %s
section baseline
no_agent (14.975 s) : 14975000, 14975000
.   : milestone, 14975000,
appsec (15.23 s) : 15230000, 15230000
.   : milestone, 15230000,
iast (17.975 s) : 17975000, 17975000
.   : milestone, 17975000,
iast_GLOBAL (17.808 s) : 17808000, 17808000
.   : milestone, 17808000,
profiling (15.585 s) : 15585000, 15585000
.   : milestone, 15585000,
tracing (15.042 s) : 15042000, 15042000
.   : milestone, 15042000,
section candidate
no_agent (14.953 s) : 14953000, 14953000
.   : milestone, 14953000,
appsec (15.205 s) : 15205000, 15205000
.   : milestone, 15205000,
iast (18.448 s) : 18448000, 18448000
.   : milestone, 18448000,
iast_GLOBAL (17.688 s) : 17688000, 17688000
.   : milestone, 17688000,
profiling (14.838 s) : 14838000, 14838000
.   : milestone, 14838000,
tracing (15.171 s) : 15171000, 15171000
.   : milestone, 15171000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.975 s [14.975 s, 14.975 s] -
appsec 15.23 s [15.23 s, 15.23 s] 255.0 ms (1.7%)
iast 17.975 s [17.975 s, 17.975 s] 3.0 s (20.0%)
iast_GLOBAL 17.808 s [17.808 s, 17.808 s] 2.833 s (18.9%)
profiling 15.585 s [15.585 s, 15.585 s] 610.0 ms (4.1%)
tracing 15.042 s [15.042 s, 15.042 s] 67.0 ms (0.4%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.953 s [14.953 s, 14.953 s] -
appsec 15.205 s [15.205 s, 15.205 s] 252.0 ms (1.7%)
iast 18.448 s [18.448 s, 18.448 s] 3.495 s (23.4%)
iast_GLOBAL 17.688 s [17.688 s, 17.688 s] 2.735 s (18.3%)
profiling 14.838 s [14.838 s, 14.838 s] -115.0 ms (-0.8%)
tracing 15.171 s [15.171 s, 15.171 s] 218.0 ms (1.5%)
Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.61.0-SNAPSHOT~adb3df5bd2, baseline=1.61.0-SNAPSHOT~7cff99444b
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.466 ms) : 1454, 1477
.   : milestone, 1466,
appsec (3.712 ms) : 3499, 3926
.   : milestone, 3712,
iast (2.246 ms) : 2177, 2315
.   : milestone, 2246,
iast_GLOBAL (2.281 ms) : 2212, 2350
.   : milestone, 2281,
profiling (2.066 ms) : 2012, 2120
.   : milestone, 2066,
tracing (2.047 ms) : 1994, 2100
.   : milestone, 2047,
section candidate
no_agent (1.469 ms) : 1457, 1481
.   : milestone, 1469,
appsec (3.787 ms) : 3569, 4006
.   : milestone, 3787,
iast (2.241 ms) : 2172, 2310
.   : milestone, 2241,
iast_GLOBAL (2.287 ms) : 2218, 2357
.   : milestone, 2287,
profiling (2.48 ms) : 2318, 2642
.   : milestone, 2480,
tracing (2.044 ms) : 1991, 2097
.   : milestone, 2044,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.466 ms [1.454 ms, 1.477 ms] -
appsec 3.712 ms [3.499 ms, 3.926 ms] 2.247 ms (153.3%)
iast 2.246 ms [2.177 ms, 2.315 ms] 780.131 µs (53.2%)
iast_GLOBAL 2.281 ms [2.212 ms, 2.35 ms] 815.248 µs (55.6%)
profiling 2.066 ms [2.012 ms, 2.12 ms] 600.497 µs (41.0%)
tracing 2.047 ms [1.994 ms, 2.1 ms] 581.727 µs (39.7%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.469 ms [1.457 ms, 1.481 ms] -
appsec 3.787 ms [3.569 ms, 4.006 ms] 2.318 ms (157.8%)
iast 2.241 ms [2.172 ms, 2.31 ms] 771.977 µs (52.6%)
iast_GLOBAL 2.287 ms [2.218 ms, 2.357 ms] 818.525 µs (55.7%)
profiling 2.48 ms [2.318 ms, 2.642 ms] 1.011 ms (68.8%)
tracing 2.044 ms [1.991 ms, 2.097 ms] 575.234 µs (39.2%)

@daniel-mohedano daniel-mohedano added type: enhancement Enhancements and improvements comp: ci visibility Continuous Integration Visibility labels Mar 13, 2026
@daniel-mohedano daniel-mohedano marked this pull request as ready for review March 13, 2026 15:40
@daniel-mohedano daniel-mohedano requested review from a team as code owners March 13, 2026 15:40
@daniel-mohedano daniel-mohedano marked this pull request as draft March 13, 2026 15:44
@daniel-mohedano daniel-mohedano marked this pull request as ready for review March 13, 2026 15:59
@cit-pr-commenter-54b7da
Copy link

cit-pr-commenter-54b7da bot commented Mar 13, 2026

Test Environment - pass4s

Job Status: success

Scenario Overhead (%)
agent 10.87
agentless 6.52
agentlessCodeCoverage 14.60

@cit-pr-commenter-54b7da
Copy link

cit-pr-commenter-54b7da bot commented Mar 13, 2026

Test Environment - sbt-scalatest

Job Status: success

Scenario Overhead (%)
agent 55.96
agentEvpProxy 57.40

@cit-pr-commenter-54b7da
Copy link

cit-pr-commenter-54b7da bot commented Mar 13, 2026

Test Environment - netflix-zuul

Job Status: success

Scenario Overhead (%)
agent 89.14
agentless 82.58
agentlessCodeCoverage 100.29
agentlessLineCoverage 115.76

@cit-pr-commenter-54b7da
Copy link

cit-pr-commenter-54b7da bot commented Mar 13, 2026

Test Environment - reactive-streams-jvm

Job Status: success

Scenario Overhead (%)
agent 20.98
agentless 17.85
agentlessCodeCoverage 19.34
agentlessLineCoverage 29.27

@cit-pr-commenter-54b7da
Copy link

cit-pr-commenter-54b7da bot commented Mar 13, 2026

Test Environment - sonar-kotlin

Job Status: success

Scenario Overhead (%)
agent 13.80
agentless 12.75
agentlessCodeCoverage 15.69
agentlessLineCoverage 21.01

@cit-pr-commenter-54b7da
Copy link

Test Environment - nebula-release-plugin

Job Status: success

Scenario Overhead (%)
agent 37.83
agentless 36.59
agentlessCodeCoverage 45.22
agentlessLineCoverage 75.77

@cit-pr-commenter-54b7da
Copy link

cit-pr-commenter-54b7da bot commented Mar 13, 2026

Test Environment - jolokia

Job Status: success

Scenario Overhead (%)
agent 90.89
agentless 86.98
agentlessCodeCoverage 96.30
agentlessLineCoverage 96.47

@cit-pr-commenter-54b7da
Copy link

cit-pr-commenter-54b7da bot commented Mar 13, 2026

Test Environment - okhttp

Job Status: success

Scenario Overhead (%)
agent 17.63
agentless 16.32
agentlessCodeCoverage 19.83
agentlessLineCoverage 33.90

if (loader != null
&& className != null
&& className.startsWith(COMPILER_PLUGIN_CLASS_PREFIX)
&& exportedClassLoaders.add(loader)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

We could probably use something like exportedClassLoaders.computeIfAbsent(loader, this::exportJdkCompilerModule) to make sure this is truly thread safe (otherwise a thread that lost the race on add just exits, without waiting for the module to be exported in the other thread

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Makes sense! Updated the approach in adb3df5

extraExports.put(packageName, target);
}

inst.redefineModule(module, emptySet(), (Map) extraExports, emptyMap(), emptySet(), emptyMap());
Copy link
Contributor

Choose a reason for hiding this comment

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

Why the (Map) cast?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch, missed it during cleanup, addressed in adb3df5

if (!optModule.isPresent()) {
return;
}
java.lang.Module module = optModule.get();
Copy link
Contributor

Choose a reason for hiding this comment

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

Can java.lang.Module be imported so that we don't have to specify its full name every time?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I followed the approach that was already in use in the file out of caution, although adding the imports doesn't seem to cause any failures/side effects. @mcculls might have better context here as he did the original implementation for the class

@cit-pr-commenter-54b7da
Copy link

cit-pr-commenter-54b7da bot commented Mar 13, 2026

Test Environment - spring_boot

Job Status: success

Scenario Overhead (%)
agent 15.59
agentless 9.39
agentlessCodeCoverage 13.35
agentlessLineCoverage 31.96

@cit-pr-commenter-54b7da
Copy link

cit-pr-commenter-54b7da bot commented Mar 13, 2026

Test Environment - sonar-java

Job Status: success

Scenario Overhead (%)
agent 31.03
agentless 47.16
agentlessCodeCoverage 127.73
agentlessLineCoverage 146.29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: ci visibility Continuous Integration Visibility type: enhancement Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants