-
Notifications
You must be signed in to change notification settings - Fork 301
Reduce footprint of SourceFile tracking #8524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
classNamesBySourceFile map used for SourceFile tracking can have a lot of entries (different SourceFiles) and for each entry we have a list (If any inner classe or non-public top-level classes). Compacting to a comma-separated list reduce the footprint of this map. As the usage is very unfrequent we can pay the price to "deserialize" the list to go through the classname that we need to retransform as a dependency
Debugger benchmarksParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 8 metrics, 7 unstable metrics. See unchanged results
Request duration reports for reportsgantt
title reports - request duration [CI 0.99] : candidate=None, baseline=None
dateFormat X
axisFormat %s
section baseline
noprobe (316.933 µs) : 278, 356
. : milestone, 317,
basic (309.862 µs) : 297, 322
. : milestone, 310,
loop (10.124 ms) : 10083, 10166
. : milestone, 10124,
section candidate
noprobe (311.496 µs) : 282, 341
. : milestone, 311,
basic (314.342 µs) : 306, 322
. : milestone, 314,
loop (10.151 ms) : 10127, 10174
. : milestone, 10151,
|
BenchmarksStartupParameters
See matching parameters
SummaryFound 1 performance improvements and 0 performance regressions! Performance is the same for 56 metrics, 6 unstable metrics.
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.48.0-SNAPSHOT~d535780628, baseline=1.48.0-SNAPSHOT~b34cd6dbd9
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.038 s) : 0, 1037590
Total [baseline] (8.683 s) : 0, 8682904
Agent [candidate] (1.037 s) : 0, 1037011
Total [candidate] (8.644 s) : 0, 8644451
section iast
Agent [baseline] (1.171 s) : 0, 1170921
Total [baseline] (9.258 s) : 0, 9258429
Agent [candidate] (1.199 s) : 0, 1198963
Total [candidate] (9.292 s) : 0, 9292477
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.172 s) : 0, 1171505
Total [baseline] (9.215 s) : 0, 9215456
Agent [candidate] (1.17 s) : 0, 1170418
Total [candidate] (9.2 s) : 0, 9200164
section iast_TELEMETRY_OFF
Agent [baseline] (1.165 s) : 0, 1165158
Total [baseline] (9.227 s) : 0, 9227190
Agent [candidate] (1.167 s) : 0, 1166628
Total [candidate] (9.228 s) : 0, 9227512
gantt
title insecure-bank - break down per module: candidate=1.48.0-SNAPSHOT~d535780628, baseline=1.48.0-SNAPSHOT~b34cd6dbd9
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (716.137 ms) : 0, 716137
BytebuddyAgent [candidate] (716.328 ms) : 0, 716328
GlobalTracer [baseline] (238.701 ms) : 0, 238701
GlobalTracer [candidate] (239.05 ms) : 0, 239050
AppSec [baseline] (54.884 ms) : 0, 54884
AppSec [candidate] (55.339 ms) : 0, 55339
Remote Config [baseline] (672.861 µs) : 0, 673
Remote Config [candidate] (685.926 µs) : 0, 686
Telemetry [baseline] (12.207 ms) : 0, 12207
Telemetry [candidate] (10.614 ms) : 0, 10614
section iast
BytebuddyAgent [baseline] (836.758 ms) : 0, 836758
BytebuddyAgent [candidate] (860.823 ms) : 0, 860823
GlobalTracer [baseline] (230.208 ms) : 0, 230208
GlobalTracer [candidate] (233.291 ms) : 0, 233291
IAST [baseline] (22.704 ms) : 0, 22704
IAST [candidate] (23.148 ms) : 0, 23148
AppSec [baseline] (56.827 ms) : 0, 56827
AppSec [candidate] (57.021 ms) : 0, 57021
Remote Config [baseline] (619.845 µs) : 0, 620
Remote Config [candidate] (620.597 µs) : 0, 621
Telemetry [baseline] (8.839 ms) : 0, 8839
Telemetry [candidate] (8.747 ms) : 0, 8747
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (836.821 ms) : 0, 836821
BytebuddyAgent [candidate] (835.965 ms) : 0, 835965
GlobalTracer [baseline] (230.587 ms) : 0, 230587
GlobalTracer [candidate] (230.365 ms) : 0, 230365
IAST [baseline] (22.979 ms) : 0, 22979
IAST [candidate] (23.693 ms) : 0, 23693
AppSec [baseline] (56.789 ms) : 0, 56789
AppSec [candidate] (55.947 ms) : 0, 55947
Remote Config [baseline] (623.649 µs) : 0, 624
Remote Config [candidate] (598.688 µs) : 0, 599
Telemetry [baseline] (8.686 ms) : 0, 8686
Telemetry [candidate] (8.823 ms) : 0, 8823
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (832.317 ms) : 0, 832317
BytebuddyAgent [candidate] (832.837 ms) : 0, 832837
GlobalTracer [baseline] (230.067 ms) : 0, 230067
GlobalTracer [candidate] (230.206 ms) : 0, 230206
IAST [baseline] (22.246 ms) : 0, 22246
IAST [candidate] (22.44 ms) : 0, 22440
AppSec [baseline] (56.438 ms) : 0, 56438
AppSec [candidate] (56.903 ms) : 0, 56903
Remote Config [baseline] (618.018 µs) : 0, 618
Remote Config [candidate] (620.659 µs) : 0, 621
Telemetry [baseline] (8.56 ms) : 0, 8560
Telemetry [candidate] (8.659 ms) : 0, 8659
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.48.0-SNAPSHOT~d535780628, baseline=1.48.0-SNAPSHOT~b34cd6dbd9
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.052 s) : 0, 1051856
Total [baseline] (10.512 s) : 0, 10511725
Agent [candidate] (1.046 s) : 0, 1045914
Total [candidate] (10.425 s) : 0, 10424885
section appsec
Agent [baseline] (1.185 s) : 0, 1185310
Total [baseline] (10.79 s) : 0, 10790309
Agent [candidate] (1.181 s) : 0, 1181411
Total [candidate] (10.754 s) : 0, 10753748
section iast
Agent [baseline] (1.178 s) : 0, 1177568
Total [baseline] (10.981 s) : 0, 10981342
Agent [candidate] (1.177 s) : 0, 1177028
Total [candidate] (11.036 s) : 0, 11036193
section profiling
Agent [baseline] (1.261 s) : 0, 1261282
Total [baseline] (10.908 s) : 0, 10908443
Agent [candidate] (1.258 s) : 0, 1258329
Total [candidate] (10.842 s) : 0, 10842363
gantt
title petclinic - break down per module: candidate=1.48.0-SNAPSHOT~d535780628, baseline=1.48.0-SNAPSHOT~b34cd6dbd9
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (722.872 ms) : 0, 722872
BytebuddyAgent [candidate] (720.793 ms) : 0, 720793
GlobalTracer [baseline] (243.661 ms) : 0, 243661
GlobalTracer [candidate] (240.345 ms) : 0, 240345
AppSec [baseline] (56.213 ms) : 0, 56213
AppSec [candidate] (55.334 ms) : 0, 55334
Remote Config [baseline] (710.833 µs) : 0, 711
Remote Config [candidate] (691.36 µs) : 0, 691
Telemetry [baseline] (13.278 ms) : 0, 13278
Telemetry [candidate] (13.694 ms) : 0, 13694
section appsec
BytebuddyAgent [baseline] (736.705 ms) : 0, 736705
BytebuddyAgent [candidate] (734.191 ms) : 0, 734191
GlobalTracer [baseline] (237.393 ms) : 0, 237393
GlobalTracer [candidate] (236.475 ms) : 0, 236475
AppSec [baseline] (176.377 ms) : 0, 176377
AppSec [candidate] (175.815 ms) : 0, 175815
Remote Config [baseline] (655.654 µs) : 0, 656
Remote Config [candidate] (663.833 µs) : 0, 664
Telemetry [baseline] (8.3 ms) : 0, 8300
Telemetry [candidate] (8.617 ms) : 0, 8617
IAST [baseline] (21.795 ms) : 0, 21795
IAST [candidate] (21.409 ms) : 0, 21409
section iast
BytebuddyAgent [baseline] (842.171 ms) : 0, 842171
BytebuddyAgent [candidate] (842.485 ms) : 0, 842485
GlobalTracer [baseline] (231.418 ms) : 0, 231418
GlobalTracer [candidate] (230.642 ms) : 0, 230642
AppSec [baseline] (55.784 ms) : 0, 55784
AppSec [candidate] (56.8 ms) : 0, 56800
Remote Config [baseline] (613.089 µs) : 0, 613
Remote Config [candidate] (613.91 µs) : 0, 614
Telemetry [baseline] (8.784 ms) : 0, 8784
Telemetry [candidate] (8.617 ms) : 0, 8617
IAST [baseline] (23.672 ms) : 0, 23672
IAST [candidate] (22.782 ms) : 0, 22782
section profiling
BytebuddyAgent [baseline] (709.369 ms) : 0, 709369
BytebuddyAgent [candidate] (709.225 ms) : 0, 709225
GlobalTracer [baseline] (350.938 ms) : 0, 350938
GlobalTracer [candidate] (348.914 ms) : 0, 348914
AppSec [baseline] (54.851 ms) : 0, 54851
AppSec [candidate] (54.036 ms) : 0, 54036
Remote Config [baseline] (675.269 µs) : 0, 675
Remote Config [candidate] (668.074 µs) : 0, 668
Telemetry [baseline] (8.901 ms) : 0, 8901
Telemetry [candidate] (8.966 ms) : 0, 8966
ProfilingAgent [baseline] (96.206 ms) : 0, 96206
ProfilingAgent [candidate] (96.117 ms) : 0, 96117
Profiling [baseline] (96.231 ms) : 0, 96231
Profiling [candidate] (96.143 ms) : 0, 96143
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 14 metrics, 16 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.48.0-SNAPSHOT~d535780628, baseline=1.48.0-SNAPSHOT~b34cd6dbd9
dateFormat X
axisFormat %s
section baseline
no_agent (1.356 ms) : 1337, 1375
. : milestone, 1356,
appsec (1.725 ms) : 1701, 1749
. : milestone, 1725,
appsec_no_iast (1.744 ms) : 1719, 1768
. : milestone, 1744,
code_origins (1.691 ms) : 1658, 1723
. : milestone, 1691,
iast (1.51 ms) : 1486, 1535
. : milestone, 1510,
profiling (1.508 ms) : 1483, 1532
. : milestone, 1508,
tracing (1.516 ms) : 1491, 1541
. : milestone, 1516,
section candidate
no_agent (1.354 ms) : 1333, 1374
. : milestone, 1354,
appsec (1.728 ms) : 1705, 1752
. : milestone, 1728,
appsec_no_iast (1.727 ms) : 1703, 1752
. : milestone, 1727,
code_origins (1.673 ms) : 1639, 1708
. : milestone, 1673,
iast (1.492 ms) : 1468, 1515
. : milestone, 1492,
profiling (1.506 ms) : 1482, 1530
. : milestone, 1506,
tracing (1.485 ms) : 1460, 1510
. : milestone, 1485,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.48.0-SNAPSHOT~d535780628, baseline=1.48.0-SNAPSHOT~b34cd6dbd9
dateFormat X
axisFormat %s
section baseline
no_agent (383.793 µs) : 364, 403
. : milestone, 384,
iast (514.853 µs) : 493, 537
. : milestone, 515,
iast_FULL (737.463 µs) : 715, 759
. : milestone, 737,
iast_GLOBAL (568.899 µs) : 546, 592
. : milestone, 569,
iast_HARDCODED_SECRET_DISABLED (516.077 µs) : 494, 538
. : milestone, 516,
iast_INACTIVE (464.352 µs) : 443, 485
. : milestone, 464,
iast_TELEMETRY_OFF (501.346 µs) : 479, 524
. : milestone, 501,
tracing (452.204 µs) : 432, 473
. : milestone, 452,
section candidate
no_agent (384.31 µs) : 365, 404
. : milestone, 384,
iast (510.19 µs) : 488, 532
. : milestone, 510,
iast_FULL (732.869 µs) : 711, 755
. : milestone, 733,
iast_GLOBAL (562.791 µs) : 540, 585
. : milestone, 563,
iast_HARDCODED_SECRET_DISABLED (517.707 µs) : 496, 539
. : milestone, 518,
iast_INACTIVE (464.098 µs) : 443, 485
. : milestone, 464,
iast_TELEMETRY_OFF (499.221 µs) : 477, 522
. : milestone, 499,
tracing (462.252 µs) : 441, 483
. : milestone, 462,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 0 unstable metrics. Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.48.0-SNAPSHOT~d535780628, baseline=1.48.0-SNAPSHOT~b34cd6dbd9
dateFormat X
axisFormat %s
section baseline
no_agent (1.468 ms) : 1457, 1480
. : milestone, 1468,
appsec (2.337 ms) : 2293, 2380
. : milestone, 2337,
iast (2.103 ms) : 2048, 2158
. : milestone, 2103,
iast_GLOBAL (2.149 ms) : 2094, 2204
. : milestone, 2149,
profiling (1.983 ms) : 1938, 2027
. : milestone, 1983,
tracing (1.957 ms) : 1915, 1999
. : milestone, 1957,
section candidate
no_agent (1.468 ms) : 1457, 1480
. : milestone, 1468,
appsec (2.337 ms) : 2294, 2380
. : milestone, 2337,
iast (2.116 ms) : 2061, 2172
. : milestone, 2116,
iast_GLOBAL (2.164 ms) : 2108, 2219
. : milestone, 2164,
profiling (1.961 ms) : 1918, 2005
. : milestone, 1961,
tracing (1.945 ms) : 1903, 1987
. : milestone, 1945,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.48.0-SNAPSHOT~d535780628, baseline=1.48.0-SNAPSHOT~b34cd6dbd9
dateFormat X
axisFormat %s
section baseline
no_agent (15.273 s) : 15273000, 15273000
. : milestone, 15273000,
appsec (15.109 s) : 15109000, 15109000
. : milestone, 15109000,
iast (18.665 s) : 18665000, 18665000
. : milestone, 18665000,
iast_GLOBAL (18.244 s) : 18244000, 18244000
. : milestone, 18244000,
profiling (15.611 s) : 15611000, 15611000
. : milestone, 15611000,
tracing (15.168 s) : 15168000, 15168000
. : milestone, 15168000,
section candidate
no_agent (15.342 s) : 15342000, 15342000
. : milestone, 15342000,
appsec (14.931 s) : 14931000, 14931000
. : milestone, 14931000,
iast (18.644 s) : 18644000, 18644000
. : milestone, 18644000,
iast_GLOBAL (18.041 s) : 18041000, 18041000
. : milestone, 18041000,
profiling (15.109 s) : 15109000, 15109000
. : milestone, 15109000,
tracing (14.941 s) : 14941000, 14941000
. : milestone, 14941000,
|
| Package | Type | Package file | Manager | Update | Change | |---|---|---|---|---|---| | org.flywaydb.flyway | plugin | misk/gradle/libs.versions.toml | gradle | minor | `11.6.0` -> `11.7.0` | | [com.squareup.okio:okio-fakefilesystem](https://github.com/square/okio) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `3.10.2` -> `3.11.0` | | [com.squareup.okio:okio](https://github.com/square/okio) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `3.10.2` -> `3.11.0` | | [com.autonomousapps.dependency-analysis](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin) | plugin | misk/gradle/libs.versions.toml | gradle | minor | `2.15.0` -> `2.16.0` | | [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.47.3` -> `1.48.1` | | [com.datadoghq:dd-trace-ot](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.47.3` -> `1.48.1` | | [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:sqs](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | --- ### Release Notes <details> <summary>square/okio (com.squareup.okio:okio-fakefilesystem)</summary> ### [`v3.11.0`](https://github.com/square/okio/blob/HEAD/CHANGELOG.md#Version-3110) *2025-04-09* - Fix: Clear the deflater's byte array reference - New: Faster implementation of `String.decodeHex()` on Kotlin/JS. - New: Declare `EXACTLY_ONCE` execution for blocks like `Closeable.use {}` and `FileSystem.read {}`. - Upgrade: \[Kotlin 2.1.20]\[kotlin\_2\_1\_20]. </details> <details> <summary>autonomousapps/dependency-analysis-android-gradle-plugin (com.autonomousapps.dependency-analysis)</summary> ### [`v2.16.0`](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/blob/HEAD/CHANGELOG.md#Version-2160) - \[Feat]: support `com.android.test` projects. - \[Feat]: support typesafe project accessors with opt-in. ```kotlin dependencyAnalysis { useTypesafeProjectAccessors(true) // false by default } ``` </details> <details> <summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary> ### [`v1.48.1`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.48.1): 1.48.1 ### Components #### Tracer internal logging - 🐛 Remove print line causing unnecessary logs ([#​8687](DataDog/dd-trace-java#8687) - [@​sarahchen6](https://github.com/sarahchen6)) ### [`v1.48.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.48.0): 1.48.0 ### Known Bugs > \[!NOTE] > If you are experiencing issues with spamming timeout logs, please update to the [latest version](https://github.com/DataDog/dd-trace-java/releases/latest) or set [JDK_SOCKET_ENABLED](https://github.com/DataDog/dd-trace-java/blob/33fc3c9a9b7cda3beda88b8b3e5224ae2b10764a/dd-trace-api/src/main/java/datadog/trace/api/config/GeneralConfig.java#L98) to false. ### Components #### Application Security Management (IAST) - ✨ Fix vulnerability location org.jose4j.lang.HashUtil ([#​8610](DataDog/dd-trace-java#8610) - [@​jandro996](https://github.com/jandro996)) - ✨ Fix weak randomness in oracle.ucp.util.OpaqueString ([#​8609](DataDog/dd-trace-java#8609) - [@​jandro996](https://github.com/jandro996)) - ✨ Fix weak hash false positive in oracle.security.o5logon.O5Logon ([#​8608](DataDog/dd-trace-java#8608) - [@​jandro996](https://github.com/jandro996)) - 🐛 Prevent before callsites targeting constructors in super calls ([#​8549](DataDog/dd-trace-java#8549) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) #### Application Security Management (WAF) - ✨ Update login events public SDK to V2 ([#​8620](DataDog/dd-trace-java#8620) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - 🐛 Send RASP LFI capability only when AppSec is statically enabled ([#​8573](DataDog/dd-trace-java#8573) - [@​jandro996](https://github.com/jandro996)) - ✨ Improve detection of missing request end events ([#​8510](DataDog/dd-trace-java#8510) - [@​smola](https://github.com/smola)) - 🧹 Remove remote configuration for API Security sampling rate ([#​8486](DataDog/dd-trace-java#8486) - [@​smola](https://github.com/smola)) - ✨ Add setUser to user monitoring SDK ([#​8482](DataDog/dd-trace-java#8482) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Add missing address for signup event ([#​8469](DataDog/dd-trace-java#8469) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Allow login events SDK to be used with appsec disabled ([#​8464](DataDog/dd-trace-java#8464) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Add support for endpoint discovery in spring mvc ([#​8352](DataDog/dd-trace-java#8352) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ New API Security sampling algorithm ([#​8178](DataDog/dd-trace-java#8178) - [@​ValentinZakharov](https://github.com/ValentinZakharov)) #### Build & Tooling - ✨ Add buffer size customizability to JDK UDS support ([#​8629](DataDog/dd-trace-java#8629) - [@​sarahchen6](https://github.com/sarahchen6)) - ✨ Add JDK built-in support for UDS on Java 16+ ([#​8314](DataDog/dd-trace-java#8314) - [@​sarahchen6](https://github.com/sarahchen6)) #### Configuration at Runtime - 🐛 Send RASP LFI capability only when AppSec is statically enabled ([#​8573](DataDog/dd-trace-java#8573) - [@​jandro996](https://github.com/jandro996)) #### Continuous Integration Visibility - 🐛 Prevent double reporting of Scalatest events when using SBT with test forking ([#​8682](DataDog/dd-trace-java#8682) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Shutdown CI Visibility test event handlers before tracer ([#​8677](DataDog/dd-trace-java#8677) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Do not apply JUnit 4 instrumentation to MUnit runners ([#​8675](DataDog/dd-trace-java#8675), [#​8683](DataDog/dd-trace-java#8683) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Remove error log when source path resolution fails on isModified check ([#​8663](DataDog/dd-trace-java#8663) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Implement tests reordering for JUnit 4 ([#​8650](DataDog/dd-trace-java#8650) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - 🐛 Set default Attempt to Fix retries if none provided from the backend ([#​8615](DataDog/dd-trace-java#8615) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Allow to manually set PR info ([#​8566](DataDog/dd-trace-java#8566) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Fix Test Optimization init when repo root cannot be determined ([#​8533](DataDog/dd-trace-java#8533) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Add capabilities tagging ([#​8499](DataDog/dd-trace-java#8499), [#​8540](DataDog/dd-trace-java#8540) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) #### Crash tracking - 🐛 Remove dependency on bash from crash/oome uploder scripts ([#​8652](DataDog/dd-trace-java#8652) - [@​jbachorik](https://github.com/jbachorik)) #### Data Streams Monitoring - ✨ e2e pipeline configuration when data jobs is enabled ([#​8553](DataDog/dd-trace-java#8553) - [@​kr-igor](https://github.com/kr-igor)) #### Dynamic Instrumentation - 🐛 Fix In-Product when config is empty ([#​8679](DataDog/dd-trace-java#8679) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add support for filtering shaded third-party libs ([#​8612](DataDog/dd-trace-java#8612) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add In-Product Enablement ([#​8587](DataDog/dd-trace-java#8587) - [@​jpbempel](https://github.com/jpbempel)) - ✨⚡ Reduce footprint of SourceFile tracking ([#​8524](DataDog/dd-trace-java#8524) - [@​jpbempel](https://github.com/jpbempel)) - ✨⚡ Optimize the SourceFile tracking ([#​8520](DataDog/dd-trace-java#8520) - [@​jpbempel](https://github.com/jpbempel)) #### OpenTracing - 🧹 Remove activeScope() use in OpenTracing shim ([#​8478](DataDog/dd-trace-java#8478) - [@​mcculls](https://github.com/mcculls)) #### Profiling - ✨ Add profiler env check command to AgentCLI ([#​8671](DataDog/dd-trace-java#8671) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Bump ddprof to 1.23.0 ([#​8668](DataDog/dd-trace-java#8668) - [@​jbachorik](https://github.com/jbachorik)) - Fix a crash related to ElfParser::loadSymbolTable ([#​191](DataDog/dd-trace-java#191)) by [@​yanglong1010](https://github.com/yanglong1010) in DataDog/java-profiler#192 - Unwind String.indexOf intrinsic on AArch64 by [@​MattAlp](https://github.com/MattAlp) in DataDog/java-profiler#193 - Fix Java 24 support by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#194 - A set of fixes related to clang, aarch64 and musl pecularities of vmstructs stack unwinder by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#199 - 🐛 Remove process information from JFR recording ([#​8661](DataDog/dd-trace-java#8661) - [@​r1viollet](https://github.com/r1viollet)) - 🐛 Make TempLocationManager USER aware ([#​8605](DataDog/dd-trace-java#8605) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Extract git tags from embedded git.properties and datadog_git.properties ([#​8561](DataDog/dd-trace-java#8561) - [@​wmouchere](https://github.com/wmouchere)) #### Telemetry - 🐛 Fix appsec.rasp.error and appsec.waf.error telemetry metrics ([#​8624](DataDog/dd-trace-java#8624) - [@​jandro996](https://github.com/jandro996)) - ✨ Create metric: appsec.rasp.rule.skipped ([#​8618](DataDog/dd-trace-java#8618) - [@​jandro996](https://github.com/jandro996)) - ✨ Extract git tags from embedded git.properties and datadog_git.properties ([#​8561](DataDog/dd-trace-java#8561) - [@​wmouchere](https://github.com/wmouchere)) #### Testing - 🧹 Simplify ssi tests one-pipeline ([#​8558](DataDog/dd-trace-java#8558) - [@​robertomonteromiguel](https://github.com/robertomonteromiguel)) - ✨ Add smoke tests for java's concurrent API ([#​8438](DataDog/dd-trace-java#8438) - [@​sarahchen6](https://github.com/sarahchen6)) #### Trace context propagation - ✨ Adding Support for `TRACE_PROPAGATION_BEHAVIOR_EXTRACT` ([#​8535](DataDog/dd-trace-java#8535) - [@​mhlidd](https://github.com/mhlidd)) #### Tracer core - 🐛 Ensure shaded helpers have unique names ([#​8559](DataDog/dd-trace-java#8559) - [@​amarziali](https://github.com/amarziali)) - ✨ Support common config sources for user-provided git info ([#​8547](DataDog/dd-trace-java#8547) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Make the default config sources more robust when a security manager is installed ([#​8544](DataDog/dd-trace-java#8544) - [@​mcculls](https://github.com/mcculls)) - ✨ Support targeting services with configurations in stable configuration file ([#​8526](DataDog/dd-trace-java#8526) - [@​mtoffl01](https://github.com/mtoffl01)) - ✨ Add new parser for `DD_TAGS` and prioritizing `DD_SERVICE` ([#​8296](DataDog/dd-trace-java#8296) - [@​mhlidd](https://github.com/mhlidd)) #### Tracer internal logging - 🐛 Add missing debug log for the cloudPayloadTaggingServices config ([#​8600](DataDog/dd-trace-java#8600) - [@​ygree](https://github.com/ygree)) - ✨ Add the possibility to output the logs of the Java tracer in JSON ([#​8083](DataDog/dd-trace-java#8083) - [@​cecile75](https://github.com/cecile75)) #### Tracer public API - ✨ Introducing `DD_TRACE_EXPERIMENTAL_FEATURES_ENABLED` Config ([#​8536](DataDog/dd-trace-java#8536) - [@​mhlidd](https://github.com/mhlidd)) - ✨ Config Consistency Round 2 ([#​8489](DataDog/dd-trace-java#8489) - [@​mhlidd](https://github.com/mhlidd)) ### Instrumentations #### - 🐛 Fix NPE in getMdcCopy of LoggingEventInstrumentation ([#​8599](DataDog/dd-trace-java#8599) - [@​ygree](https://github.com/ygree)) #### Apache Spark instrumentation - ✨ Instrument Runtime.exit() to finish spark application spans ([#​8572](DataDog/dd-trace-java#8572) - [@​paul-laffon-dd](https://github.com/paul-laffon-dd)) - ✨ Configure OpenLineage if present in Spark instrumentation ([#​8541](DataDog/dd-trace-java#8541) - [@​mobuchowski](https://github.com/mobuchowski)) #### Armeria Instrumentation - ✨ Support armeria grpc 1.32.3 ([#​8606](DataDog/dd-trace-java#8606) - [@​github-actions](https://github.com/github-actions)\[bot]) #### AWS DynamoDB Instrumentation - ✨ Create DynamoDB instrumentation + add span pointers for `updateItem` and `deleteItem` ([#​8490](DataDog/dd-trace-java#8490) - [@​nhulston](https://github.com/nhulston)) #### AWS SDK instrumentation - ✨ Add DynamoDB in DEFAULT_TRACE_CLOUD_PAYLOAD_TAGGING_SERVICES ([#​8595](DataDog/dd-trace-java#8595) - [@​joeyzhao2018](https://github.com/joeyzhao2018)) #### Azure Functions instrumentation - ✨ Enable tracer computed trace metrics by default for Azure Functions ([#​8518](DataDog/dd-trace-java#8518) - [@​duncanpharvey](https://github.com/duncanpharvey)) - 💡 Add azure-functions instrumentation ([#​8432](DataDog/dd-trace-java#8432) - [@​duncanpharvey](https://github.com/duncanpharvey)) #### Core Java language instrumentation - 🐛 Fix ForkJoinPool.execute() instrumentation on Java 21+ ([#​8560](DataDog/dd-trace-java#8560) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) #### Eclipse Vert.x instrumentation - ✨ Add vertx postgresql client instrumentation ([#​8471](DataDog/dd-trace-java#8471) - [@​vandonr](https://github.com/vandonr) - thanks for the contribution!) #### Kafka instrumentation - ✨ Support and test kafka-clients 4 ([#​8581](DataDog/dd-trace-java#8581) - [@​amarziali](https://github.com/amarziali)) #### Kotlin instrumentation - ✨ Avoid disconnected traces when using Kotlin flowOn ([#​8651](DataDog/dd-trace-java#8651) - [@​mcculls](https://github.com/mcculls)) #### OpenTelemetry instrumentation - 🧹 Migrate OtelContext wrapper to new internal Context API ([#​8645](DataDog/dd-trace-java#8645) - [@​mcculls](https://github.com/mcculls)) #### Spring instrumentation - 🐛 Support CompletableFuture on spring webmvc controllers ([#​8659](DataDog/dd-trace-java#8659) - [@​amarziali](https://github.com/amarziali)) - ✨ Add support for endpoint discovery in spring mvc ([#​8352](DataDog/dd-trace-java#8352) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) #### WebSocket Instrumentation - ✨ Instrument Jetty websocket pojo ([#​8562](DataDog/dd-trace-java#8562) - [@​amarziali](https://github.com/amarziali)) - 💡 Instrument Java Websocket API (JSR356) ([#​8440](DataDog/dd-trace-java#8440) - [@​amarziali](https://github.com/amarziali)) #### All other instrumentations - ✨ Introduce cache for peer.hostname lookup ([#​8601](DataDog/dd-trace-java#8601) - [@​mcculls](https://github.com/mcculls)) - ✨ Support pekko http 1.1 ([#​8532](DataDog/dd-trace-java#8532) - [@​amarziali](https://github.com/amarziali)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 6pm every weekday,before 2am every weekday" in timezone Australia/Melbourne, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). GitOrigin-RevId: 331314f71acaced3adc75ea5d7e855c248d593fc
What Does This Do
classNamesBySourceFile map used for SourceFile tracking can have a lot of entries (different SourceFiles) and for each entry we have a list (If any inner classe or non-public top-level classes). Compacting to a comma-separated list reduce the footprint of this map. As the usage is very unfrequent we can pay the price to "deserialize" the list to go through the classname that we need to retransform as a dependency
Motivation
Additional Notes
Contributor Checklist
type:
and (comp:
orinst:
) labels in addition to any usefull labelsclose
,fix
or any linking keywords when referencing an issue.Use
solves
instead, and assign the PR milestone to the issueJira ticket: DEBUG-3575