Skip to content

Fix flaky nested virtual threads test race condition#10791

Open
bm1549 wants to merge 1 commit intomasterfrom
brian.marks/fix-virtual-thread-flaky-test
Open

Fix flaky nested virtual threads test race condition#10791
bm1549 wants to merge 1 commit intomasterfrom
brian.marks/fix-virtual-thread-flaky-test

Conversation

@bm1549
Copy link
Contributor

@bm1549 bm1549 commented Mar 10, 2026

What Does This Do

Fixes a race condition in the VirtualThreadApiInstrumentationTest.testNestedVirtualThreads test that caused intermittent failures (2 failures in 30 days).

Motivation

The test creates nested virtual threads with @Trace annotations (parent -> child -> great-child -> great-great-child) and used a CountDownLatch(3) to synchronize. However, the latch only ensured that each thread's run() method had started executing -- not that the @Trace spans had been fully completed and reported. This caused a race where assertTraces ran before all 4 spans were finished.

The fix replaces the CountDownLatch with blockUntilChildSpansFinished(1) at each nesting level, matching the synchronization pattern used by all other tests in this class. Each parent waits for its direct child span to complete, and since the calls are nested, this ensures all descendant spans are finished before assertions run.

Additional Notes

  • Error was: org.opentest4j.AssertionFailedError: Invalid number of spans for trace 0
  • Test-only change, no production code affected

Contributor Checklist

🤖 Generated with Claude Code

The test was using a CountDownLatch that only ensured child threads had
started executing, not that their @trace spans had completed. Replace
the latch with blockUntilChildSpansFinished(1) at each nesting level,
matching the pattern used by other tests in this class.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bm1549 bm1549 added tag: no release notes Changes to exclude from release notes tag: ai generated Largely based on code generated by an AI or LLM tag: flaky test Flaky tests labels Mar 10, 2026
@pr-commenter
Copy link

pr-commenter bot commented Mar 10, 2026

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master brian.marks/fix-virtual-thread-flaky-test
git_commit_date 1773169596 1773171786
git_commit_sha cc12228 a37be87
release_version 1.61.0-SNAPSHOT~cc122288e5 1.61.0-SNAPSHOT~a37be87df8
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1773173454 1773173454
ci_job_id 1494390224 1494390224
ci_pipeline_id 101727436 101727436
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-1aw9hrlr 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-1aw9hrlr 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~a37be87df8, baseline=1.61.0-SNAPSHOT~cc122288e5

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.058 s) : 0, 1057523
Total [baseline] (11.072 s) : 0, 11072357
Agent [candidate] (1.066 s) : 0, 1065776
Total [candidate] (11.061 s) : 0, 11061438
section appsec
Agent [baseline] (1.243 s) : 0, 1242996
Total [baseline] (11.19 s) : 0, 11190381
Agent [candidate] (1.245 s) : 0, 1244983
Total [candidate] (11.144 s) : 0, 11143532
section iast
Agent [baseline] (1.228 s) : 0, 1227915
Total [baseline] (11.346 s) : 0, 11345519
Agent [candidate] (1.227 s) : 0, 1227050
Total [candidate] (11.326 s) : 0, 11325596
section profiling
Agent [baseline] (1.182 s) : 0, 1181863
Total [baseline] (10.946 s) : 0, 10946209
Agent [candidate] (1.18 s) : 0, 1180331
Total [candidate] (11.09 s) : 0, 11089617
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.058 s -
Agent appsec 1.243 s 185.473 ms (17.5%)
Agent iast 1.228 s 170.392 ms (16.1%)
Agent profiling 1.182 s 124.34 ms (11.8%)
Total tracing 11.072 s -
Total appsec 11.19 s 118.025 ms (1.1%)
Total iast 11.346 s 273.163 ms (2.5%)
Total profiling 10.946 s -126.148 ms (-1.1%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.066 s -
Agent appsec 1.245 s 179.208 ms (16.8%)
Agent iast 1.227 s 161.275 ms (15.1%)
Agent profiling 1.18 s 114.556 ms (10.7%)
Total tracing 11.061 s -
Total appsec 11.144 s 82.094 ms (0.7%)
Total iast 11.326 s 264.158 ms (2.4%)
Total profiling 11.09 s 28.179 ms (0.3%)
gantt
    title petclinic - break down per module: candidate=1.61.0-SNAPSHOT~a37be87df8, baseline=1.61.0-SNAPSHOT~cc122288e5

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.192 ms) : 0, 1192
crashtracking [candidate] (1.199 ms) : 0, 1199
BytebuddyAgent [baseline] (628.596 ms) : 0, 628596
BytebuddyAgent [candidate] (632.704 ms) : 0, 632704
AgentMeter [baseline] (29.131 ms) : 0, 29131
AgentMeter [candidate] (29.415 ms) : 0, 29415
GlobalTracer [baseline] (257.208 ms) : 0, 257208
GlobalTracer [candidate] (258.956 ms) : 0, 258956
AppSec [baseline] (31.639 ms) : 0, 31639
AppSec [candidate] (31.797 ms) : 0, 31797
Debugger [baseline] (59.515 ms) : 0, 59515
Debugger [candidate] (59.886 ms) : 0, 59886
Remote Config [baseline] (589.373 µs) : 0, 589
Remote Config [candidate] (594.272 µs) : 0, 594
Telemetry [baseline] (8.646 ms) : 0, 8646
Telemetry [candidate] (8.679 ms) : 0, 8679
Flare Poller [baseline] (4.99 ms) : 0, 4990
Flare Poller [candidate] (6.426 ms) : 0, 6426
section appsec
crashtracking [baseline] (1.189 ms) : 0, 1189
crashtracking [candidate] (1.184 ms) : 0, 1184
BytebuddyAgent [baseline] (655.684 ms) : 0, 655684
BytebuddyAgent [candidate] (657.213 ms) : 0, 657213
AgentMeter [baseline] (12.008 ms) : 0, 12008
AgentMeter [candidate] (12.009 ms) : 0, 12009
GlobalTracer [baseline] (257.623 ms) : 0, 257623
GlobalTracer [candidate] (258.229 ms) : 0, 258229
IAST [baseline] (23.906 ms) : 0, 23906
IAST [candidate] (23.921 ms) : 0, 23921
AppSec [baseline] (177.478 ms) : 0, 177478
AppSec [candidate] (177.358 ms) : 0, 177358
Debugger [baseline] (65.654 ms) : 0, 65654
Debugger [candidate] (64.947 ms) : 0, 64947
Remote Config [baseline] (572.542 µs) : 0, 573
Remote Config [candidate] (565.538 µs) : 0, 566
Telemetry [baseline] (9.081 ms) : 0, 9081
Telemetry [candidate] (9.724 ms) : 0, 9724
Flare Poller [baseline] (3.629 ms) : 0, 3629
Flare Poller [candidate] (3.611 ms) : 0, 3611
section iast
crashtracking [baseline] (1.186 ms) : 0, 1186
crashtracking [candidate] (1.18 ms) : 0, 1180
BytebuddyAgent [baseline] (797.031 ms) : 0, 797031
BytebuddyAgent [candidate] (796.152 ms) : 0, 796152
AgentMeter [baseline] (11.3 ms) : 0, 11300
AgentMeter [candidate] (11.303 ms) : 0, 11303
GlobalTracer [baseline] (247.677 ms) : 0, 247677
GlobalTracer [candidate] (247.543 ms) : 0, 247543
IAST [baseline] (25.132 ms) : 0, 25132
IAST [candidate] (25.093 ms) : 0, 25093
AppSec [baseline] (26.355 ms) : 0, 26355
AppSec [candidate] (26.341 ms) : 0, 26341
Debugger [baseline] (63.058 ms) : 0, 63058
Debugger [candidate] (63.923 ms) : 0, 63923
Remote Config [baseline] (536.603 µs) : 0, 537
Remote Config [candidate] (521.154 µs) : 0, 521
Telemetry [baseline] (14.783 ms) : 0, 14783
Telemetry [candidate] (14.377 ms) : 0, 14377
Flare Poller [baseline] (4.896 ms) : 0, 4896
Flare Poller [candidate] (4.721 ms) : 0, 4721
section profiling
crashtracking [baseline] (1.178 ms) : 0, 1178
crashtracking [candidate] (1.165 ms) : 0, 1165
BytebuddyAgent [baseline] (682.261 ms) : 0, 682261
BytebuddyAgent [candidate] (681.449 ms) : 0, 681449
AgentMeter [baseline] (8.628 ms) : 0, 8628
AgentMeter [candidate] (8.572 ms) : 0, 8572
GlobalTracer [baseline] (215.64 ms) : 0, 215640
GlobalTracer [candidate] (215.223 ms) : 0, 215223
AppSec [baseline] (31.987 ms) : 0, 31987
AppSec [candidate] (31.94 ms) : 0, 31940
Debugger [baseline] (62.161 ms) : 0, 62161
Debugger [candidate] (62.743 ms) : 0, 62743
Remote Config [baseline] (585.712 µs) : 0, 586
Remote Config [candidate] (597.505 µs) : 0, 598
Telemetry [baseline] (10.577 ms) : 0, 10577
Telemetry [candidate] (10.553 ms) : 0, 10553
Flare Poller [baseline] (4.348 ms) : 0, 4348
Flare Poller [candidate] (3.463 ms) : 0, 3463
ProfilingAgent [baseline] (93.724 ms) : 0, 93724
ProfilingAgent [candidate] (93.94 ms) : 0, 93940
Profiling [baseline] (94.285 ms) : 0, 94285
Profiling [candidate] (94.511 ms) : 0, 94511
Loading
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.61.0-SNAPSHOT~a37be87df8, baseline=1.61.0-SNAPSHOT~cc122288e5

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.058 s) : 0, 1058293
Total [baseline] (8.844 s) : 0, 8843578
Agent [candidate] (1.057 s) : 0, 1057104
Total [candidate] (8.805 s) : 0, 8805113
section iast
Agent [baseline] (1.237 s) : 0, 1236891
Total [baseline] (9.603 s) : 0, 9603378
Agent [candidate] (1.226 s) : 0, 1225709
Total [candidate] (9.563 s) : 0, 9563170
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.058 s -
Agent iast 1.237 s 178.598 ms (16.9%)
Total tracing 8.844 s -
Total iast 9.603 s 759.8 ms (8.6%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.057 s -
Agent iast 1.226 s 168.604 ms (15.9%)
Total tracing 8.805 s -
Total iast 9.563 s 758.057 ms (8.6%)
gantt
    title insecure-bank - break down per module: candidate=1.61.0-SNAPSHOT~a37be87df8, baseline=1.61.0-SNAPSHOT~cc122288e5

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.189 ms) : 0, 1189
crashtracking [candidate] (1.186 ms) : 0, 1186
BytebuddyAgent [baseline] (628.793 ms) : 0, 628793
BytebuddyAgent [candidate] (627.636 ms) : 0, 627636
AgentMeter [baseline] (29.076 ms) : 0, 29076
AgentMeter [candidate] (29.07 ms) : 0, 29070
GlobalTracer [baseline] (257.032 ms) : 0, 257032
GlobalTracer [candidate] (257.09 ms) : 0, 257090
AppSec [baseline] (31.617 ms) : 0, 31617
AppSec [candidate] (31.553 ms) : 0, 31553
Debugger [baseline] (58.937 ms) : 0, 58937
Debugger [candidate] (58.777 ms) : 0, 58777
Remote Config [baseline] (593.322 µs) : 0, 593
Remote Config [candidate] (577.192 µs) : 0, 577
Telemetry [baseline] (8.668 ms) : 0, 8668
Telemetry [candidate] (8.691 ms) : 0, 8691
Flare Poller [baseline] (6.421 ms) : 0, 6421
Flare Poller [candidate] (6.485 ms) : 0, 6485
section iast
crashtracking [baseline] (1.204 ms) : 0, 1204
crashtracking [candidate] (1.197 ms) : 0, 1197
BytebuddyAgent [baseline] (803.632 ms) : 0, 803632
BytebuddyAgent [candidate] (795.146 ms) : 0, 795146
AgentMeter [baseline] (11.591 ms) : 0, 11591
AgentMeter [candidate] (11.311 ms) : 0, 11311
GlobalTracer [baseline] (249.047 ms) : 0, 249047
GlobalTracer [candidate] (247.395 ms) : 0, 247395
IAST [baseline] (25.392 ms) : 0, 25392
IAST [candidate] (25.111 ms) : 0, 25111
AppSec [baseline] (26.683 ms) : 0, 26683
AppSec [candidate] (26.446 ms) : 0, 26446
Debugger [baseline] (62.673 ms) : 0, 62673
Debugger [candidate] (62.867 ms) : 0, 62867
Remote Config [baseline] (541.396 µs) : 0, 541
Remote Config [candidate] (522.294 µs) : 0, 522
Telemetry [baseline] (15.014 ms) : 0, 15014
Telemetry [candidate] (14.782 ms) : 0, 14782
Flare Poller [baseline] (4.964 ms) : 0, 4964
Flare Poller [candidate] (4.939 ms) : 0, 4939
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master brian.marks/fix-virtual-thread-flaky-test
git_commit_date 1773169596 1773171786
git_commit_sha cc12228 a37be87
release_version 1.61.0-SNAPSHOT~cc122288e5 1.61.0-SNAPSHOT~a37be87df8
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1773174013 1773174013
ci_job_id 1494390225 1494390225
ci_pipeline_id 101727436 101727436
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-4vfmpj9z 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-4vfmpj9z 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 2 performance improvements and 2 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 worse
[+54.275µs; +175.218µs] or [+2.285%; +7.375%]
same
[-50.285µs; +565.154µs] or [-0.701%; +7.878%]
unstable
[-222.235op/s; +72.610op/s] or [-14.955%; +4.886%]
2.491ms 7.431ms 1411.219op/s 2.376ms 7.174ms 1486.031op/s
scenario:load:petclinic:profiling:high_load better
[-1.721ms; -0.744ms] or [-8.854%; -3.830%]
better
[-2.198ms; -0.826ms] or [-7.102%; -2.669%]
unstable
[-11.663op/s; +40.476op/s] or [-4.917%; +17.063%]
18.200ms 29.439ms 251.625op/s 19.432ms 30.952ms 237.219op/s
scenario:load:petclinic:no_agent:high_load worse
[+1.124ms; +2.241ms] or [+6.628%; +13.220%]
unstable
[+0.796ms; +3.769ms] or [+2.771%; +13.115%]
unstable
[-49.431op/s; +6.431op/s] or [-18.620%; +2.423%]
18.636ms 31.020ms 243.969op/s 16.954ms 28.737ms 265.469op/s
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.61.0-SNAPSHOT~a37be87df8, baseline=1.61.0-SNAPSHOT~cc122288e5
    dateFormat X
    axisFormat %s
section baseline
no_agent (17.576 ms) : 17399, 17753
.   : milestone, 17576,
appsec (18.396 ms) : 18211, 18581
.   : milestone, 18396,
code_origins (17.761 ms) : 17586, 17935
.   : milestone, 17761,
iast (18.013 ms) : 17832, 18193
.   : milestone, 18013,
profiling (19.682 ms) : 19482, 19881
.   : milestone, 19682,
tracing (17.67 ms) : 17492, 17849
.   : milestone, 17670,
section candidate
no_agent (19.131 ms) : 18934, 19329
.   : milestone, 19131,
appsec (18.613 ms) : 18424, 18803
.   : milestone, 18613,
code_origins (18.059 ms) : 17880, 18239
.   : milestone, 18059,
iast (17.943 ms) : 17761, 18125
.   : milestone, 17943,
profiling (18.55 ms) : 18365, 18735
.   : milestone, 18550,
tracing (17.565 ms) : 17390, 17739
.   : milestone, 17565,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 17.576 ms [17.399 ms, 17.753 ms] -
appsec 18.396 ms [18.211 ms, 18.581 ms] 819.734 µs (4.7%)
code_origins 17.761 ms [17.586 ms, 17.935 ms] 184.22 µs (1.0%)
iast 18.013 ms [17.832 ms, 18.193 ms] 436.372 µs (2.5%)
profiling 19.682 ms [19.482 ms, 19.881 ms] 2.105 ms (12.0%)
tracing 17.67 ms [17.492 ms, 17.849 ms] 93.929 µs (0.5%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 19.131 ms [18.934 ms, 19.329 ms] -
appsec 18.613 ms [18.424 ms, 18.803 ms] -518.048 µs (-2.7%)
code_origins 18.059 ms [17.88 ms, 18.239 ms] -1.072 ms (-5.6%)
iast 17.943 ms [17.761 ms, 18.125 ms] -1.188 ms (-6.2%)
profiling 18.55 ms [18.365 ms, 18.735 ms] -581.525 µs (-3.0%)
tracing 17.565 ms [17.39 ms, 17.739 ms] -1.567 ms (-8.2%)
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.61.0-SNAPSHOT~a37be87df8, baseline=1.61.0-SNAPSHOT~cc122288e5
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.186 ms) : 1174, 1197
.   : milestone, 1186,
iast (3.076 ms) : 3038, 3114
.   : milestone, 3076,
iast_FULL (6.049 ms) : 5987, 6111
.   : milestone, 6049,
iast_GLOBAL (3.449 ms) : 3398, 3500
.   : milestone, 3449,
profiling (2.13 ms) : 2111, 2148
.   : milestone, 2130,
tracing (1.818 ms) : 1803, 1833
.   : milestone, 1818,
section candidate
no_agent (1.177 ms) : 1166, 1189
.   : milestone, 1177,
iast (3.242 ms) : 3199, 3286
.   : milestone, 3242,
iast_FULL (6.044 ms) : 5982, 6105
.   : milestone, 6044,
iast_GLOBAL (3.609 ms) : 3551, 3666
.   : milestone, 3609,
profiling (2.081 ms) : 2063, 2099
.   : milestone, 2081,
tracing (1.79 ms) : 1775, 1805
.   : milestone, 1790,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.186 ms [1.174 ms, 1.197 ms] -
iast 3.076 ms [3.038 ms, 3.114 ms] 1.891 ms (159.5%)
iast_FULL 6.049 ms [5.987 ms, 6.111 ms] 4.864 ms (410.3%)
iast_GLOBAL 3.449 ms [3.398 ms, 3.5 ms] 2.264 ms (190.9%)
profiling 2.13 ms [2.111 ms, 2.148 ms] 944.198 µs (79.6%)
tracing 1.818 ms [1.803 ms, 1.833 ms] 632.424 µs (53.3%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.177 ms [1.166 ms, 1.189 ms] -
iast 3.242 ms [3.199 ms, 3.286 ms] 2.065 ms (175.4%)
iast_FULL 6.044 ms [5.982 ms, 6.105 ms] 4.866 ms (413.3%)
iast_GLOBAL 3.609 ms [3.551 ms, 3.666 ms] 2.431 ms (206.5%)
profiling 2.081 ms [2.063 ms, 2.099 ms] 903.919 µs (76.8%)
tracing 1.79 ms [1.775 ms, 1.805 ms] 612.667 µs (52.0%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master brian.marks/fix-virtual-thread-flaky-test
git_commit_date 1773169596 1773171786
git_commit_sha cc12228 a37be87
release_version 1.61.0-SNAPSHOT~cc122288e5 1.61.0-SNAPSHOT~a37be87df8
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1773173762 1773173762
ci_job_id 1494390226 1494390226
ci_pipeline_id 101727436 101727436
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-2-n2tb1o73 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-2-n2tb1o73 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 tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.61.0-SNAPSHOT~a37be87df8, baseline=1.61.0-SNAPSHOT~cc122288e5
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.472 ms) : 1461, 1483
.   : milestone, 1472,
appsec (2.507 ms) : 2453, 2562
.   : milestone, 2507,
iast (2.246 ms) : 2176, 2315
.   : milestone, 2246,
iast_GLOBAL (2.292 ms) : 2223, 2361
.   : milestone, 2292,
profiling (2.486 ms) : 2332, 2640
.   : milestone, 2486,
tracing (2.076 ms) : 2022, 2130
.   : milestone, 2076,
section candidate
no_agent (1.476 ms) : 1464, 1487
.   : milestone, 1476,
appsec (2.525 ms) : 2470, 2580
.   : milestone, 2525,
iast (2.254 ms) : 2185, 2324
.   : milestone, 2254,
iast_GLOBAL (2.295 ms) : 2226, 2365
.   : milestone, 2295,
profiling (2.073 ms) : 2019, 2128
.   : milestone, 2073,
tracing (2.06 ms) : 2006, 2114
.   : milestone, 2060,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.472 ms [1.461 ms, 1.483 ms] -
appsec 2.507 ms [2.453 ms, 2.562 ms] 1.035 ms (70.3%)
iast 2.246 ms [2.176 ms, 2.315 ms] 773.54 µs (52.6%)
iast_GLOBAL 2.292 ms [2.223 ms, 2.361 ms] 820.025 µs (55.7%)
profiling 2.486 ms [2.332 ms, 2.64 ms] 1.014 ms (68.9%)
tracing 2.076 ms [2.022 ms, 2.13 ms] 604.205 µs (41.0%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.476 ms [1.464 ms, 1.487 ms] -
appsec 2.525 ms [2.47 ms, 2.58 ms] 1.049 ms (71.1%)
iast 2.254 ms [2.185 ms, 2.324 ms] 778.658 µs (52.8%)
iast_GLOBAL 2.295 ms [2.226 ms, 2.365 ms] 819.584 µs (55.5%)
profiling 2.073 ms [2.019 ms, 2.128 ms] 597.608 µs (40.5%)
tracing 2.06 ms [2.006 ms, 2.114 ms] 584.212 µs (39.6%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.61.0-SNAPSHOT~a37be87df8, baseline=1.61.0-SNAPSHOT~cc122288e5
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.393 s) : 15393000, 15393000
.   : milestone, 15393000,
appsec (15.028 s) : 15028000, 15028000
.   : milestone, 15028000,
iast (18.058 s) : 18058000, 18058000
.   : milestone, 18058000,
iast_GLOBAL (17.525 s) : 17525000, 17525000
.   : milestone, 17525000,
profiling (15.004 s) : 15004000, 15004000
.   : milestone, 15004000,
tracing (14.955 s) : 14955000, 14955000
.   : milestone, 14955000,
section candidate
no_agent (14.946 s) : 14946000, 14946000
.   : milestone, 14946000,
appsec (14.493 s) : 14493000, 14493000
.   : milestone, 14493000,
iast (17.708 s) : 17708000, 17708000
.   : milestone, 17708000,
iast_GLOBAL (17.802 s) : 17802000, 17802000
.   : milestone, 17802000,
profiling (15.708 s) : 15708000, 15708000
.   : milestone, 15708000,
tracing (15.09 s) : 15090000, 15090000
.   : milestone, 15090000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.393 s [15.393 s, 15.393 s] -
appsec 15.028 s [15.028 s, 15.028 s] -365.0 ms (-2.4%)
iast 18.058 s [18.058 s, 18.058 s] 2.665 s (17.3%)
iast_GLOBAL 17.525 s [17.525 s, 17.525 s] 2.132 s (13.9%)
profiling 15.004 s [15.004 s, 15.004 s] -389.0 ms (-2.5%)
tracing 14.955 s [14.955 s, 14.955 s] -438.0 ms (-2.8%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.946 s [14.946 s, 14.946 s] -
appsec 14.493 s [14.493 s, 14.493 s] -453.0 ms (-3.0%)
iast 17.708 s [17.708 s, 17.708 s] 2.762 s (18.5%)
iast_GLOBAL 17.802 s [17.802 s, 17.802 s] 2.856 s (19.1%)
profiling 15.708 s [15.708 s, 15.708 s] 762.0 ms (5.1%)
tracing 15.09 s [15.09 s, 15.09 s] 144.0 ms (1.0%)

@bm1549 bm1549 marked this pull request as ready for review March 10, 2026 20:35
@bm1549 bm1549 requested a review from a team as a code owner March 10, 2026 20:35
@PerfectSlayer PerfectSlayer added inst: java Core Java language instrumentation tag: concurrency Virtual Threads, Coroutines, Async, RX, Executors labels Mar 11, 2026
Copy link
Contributor

@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.

Thanks @AlexeyKuznetsov-DD I fixed the auto assignment here: #10806

@bm1549 About the fix, was it vide coded or did you change the test intent on purpose?

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

Labels

inst: java Core Java language instrumentation tag: ai generated Largely based on code generated by an AI or LLM tag: concurrency Virtual Threads, Coroutines, Async, RX, Executors tag: flaky test Flaky tests tag: no release notes Changes to exclude from release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants