-
Notifications
You must be signed in to change notification settings - Fork 312
Add capping on SourceFile tracking queue #9245
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
tracks number of item put into the queue and dequeued. limits to 4096 items. Avoid using queue.size that is O(n) and keep the size in AtomicInteger dump the number of entries in the SourceFile map into tracer flare
Hi! 👋 Thanks for your pull request! 🎉 To help us review it, please make sure to:
If you need help, please check our contributing guidelines. |
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 (329.108 µs) : 284, 374
. : milestone, 329,
basic (282.393 µs) : 276, 289
. : milestone, 282,
loop (8.967 ms) : 8961, 8972
. : milestone, 8967,
section candidate
noprobe (314.239 µs) : 292, 336
. : milestone, 314,
basic (284.27 µs) : 269, 300
. : milestone, 284,
loop (8.955 ms) : 8951, 8959
. : milestone, 8955,
|
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 49 metrics, 10 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.51.1-SNAPSHOT~cc99a817d3, baseline=1.51.1-SNAPSHOT~6ae1a5c3a5
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.041 s) : 0, 1041348
Total [baseline] (8.581 s) : 0, 8581306
Agent [candidate] (1.04 s) : 0, 1040150
Total [candidate] (8.557 s) : 0, 8556990
section iast
Agent [baseline] (1.171 s) : 0, 1170646
Total [baseline] (9.348 s) : 0, 9347591
Agent [candidate] (1.171 s) : 0, 1170758
Total [candidate] (9.305 s) : 0, 9304973
gantt
title insecure-bank - break down per module: candidate=1.51.1-SNAPSHOT~cc99a817d3, baseline=1.51.1-SNAPSHOT~6ae1a5c3a5
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.423 ms) : 0, 1423
crashtracking [candidate] (1.427 ms) : 0, 1427
BytebuddyAgent [baseline] (729.245 ms) : 0, 729245
BytebuddyAgent [candidate] (729.816 ms) : 0, 729816
GlobalTracer [baseline] (240.955 ms) : 0, 240955
GlobalTracer [candidate] (241.112 ms) : 0, 241112
AppSec [baseline] (30.309 ms) : 0, 30309
AppSec [candidate] (30.344 ms) : 0, 30344
Debugger [baseline] (5.935 ms) : 0, 5935
Debugger [candidate] (6.034 ms) : 0, 6034
Remote Config [baseline] (660.251 µs) : 0, 660
Remote Config [candidate] (653.995 µs) : 0, 654
Telemetry [baseline] (11.938 ms) : 0, 11938
Telemetry [candidate] (9.86 ms) : 0, 9860
section iast
crashtracking [baseline] (1.422 ms) : 0, 1422
crashtracking [candidate] (1.426 ms) : 0, 1426
BytebuddyAgent [baseline] (845.331 ms) : 0, 845331
BytebuddyAgent [candidate] (845.058 ms) : 0, 845058
GlobalTracer [baseline] (231.651 ms) : 0, 231651
GlobalTracer [candidate] (230.972 ms) : 0, 230972
AppSec [baseline] (26.384 ms) : 0, 26384
AppSec [candidate] (26.523 ms) : 0, 26523
Debugger [baseline] (5.791 ms) : 0, 5791
Debugger [candidate] (7.424 ms) : 0, 7424
Remote Config [baseline] (581.168 µs) : 0, 581
Remote Config [candidate] (588.278 µs) : 0, 588
Telemetry [baseline] (8.064 ms) : 0, 8064
Telemetry [candidate] (8.125 ms) : 0, 8125
IAST [baseline] (30.621 ms) : 0, 30621
IAST [candidate] (29.799 ms) : 0, 29799
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.51.1-SNAPSHOT~cc99a817d3, baseline=1.51.1-SNAPSHOT~6ae1a5c3a5
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.043 s) : 0, 1042558
Total [baseline] (10.682 s) : 0, 10682238
Agent [candidate] (1.043 s) : 0, 1043420
Total [candidate] (10.63 s) : 0, 10630087
section appsec
Agent [baseline] (1.228 s) : 0, 1227602
Total [baseline] (10.763 s) : 0, 10763366
Agent [candidate] (1.22 s) : 0, 1219825
Total [candidate] (10.718 s) : 0, 10717591
section iast
Agent [baseline] (1.173 s) : 0, 1172654
Total [baseline] (10.886 s) : 0, 10885873
Agent [candidate] (1.186 s) : 0, 1185513
Total [candidate] (10.849 s) : 0, 10849412
section profiling
Agent [baseline] (1.194 s) : 0, 1194259
Total [baseline] (10.808 s) : 0, 10808050
Agent [candidate] (1.198 s) : 0, 1197723
Total [candidate] (10.95 s) : 0, 10949782
gantt
title petclinic - break down per module: candidate=1.51.1-SNAPSHOT~cc99a817d3, baseline=1.51.1-SNAPSHOT~6ae1a5c3a5
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.424 ms) : 0, 1424
crashtracking [candidate] (1.428 ms) : 0, 1428
BytebuddyAgent [baseline] (728.746 ms) : 0, 728746
BytebuddyAgent [candidate] (729.411 ms) : 0, 729411
GlobalTracer [baseline] (241.238 ms) : 0, 241238
GlobalTracer [candidate] (241.296 ms) : 0, 241296
AppSec [baseline] (30.315 ms) : 0, 30315
AppSec [candidate] (30.318 ms) : 0, 30318
Debugger [baseline] (5.947 ms) : 0, 5947
Debugger [candidate] (6.055 ms) : 0, 6055
Remote Config [baseline] (643.493 µs) : 0, 643
Remote Config [candidate] (650.879 µs) : 0, 651
Telemetry [baseline] (13.246 ms) : 0, 13246
Telemetry [candidate] (13.275 ms) : 0, 13275
section appsec
crashtracking [baseline] (1.437 ms) : 0, 1437
crashtracking [candidate] (1.43 ms) : 0, 1430
BytebuddyAgent [baseline] (758.352 ms) : 0, 758352
BytebuddyAgent [candidate] (752.484 ms) : 0, 752484
GlobalTracer [baseline] (236.25 ms) : 0, 236250
GlobalTracer [candidate] (235.533 ms) : 0, 235533
AppSec [baseline] (170.285 ms) : 0, 170285
AppSec [candidate] (169.484 ms) : 0, 169484
Debugger [baseline] (7.22 ms) : 0, 7220
Debugger [candidate] (7.212 ms) : 0, 7212
Remote Config [baseline] (611.004 µs) : 0, 611
Remote Config [candidate] (611.732 µs) : 0, 612
Telemetry [baseline] (8.269 ms) : 0, 8269
Telemetry [candidate] (8.293 ms) : 0, 8293
IAST [baseline] (23.714 ms) : 0, 23714
IAST [candidate] (23.472 ms) : 0, 23472
section iast
crashtracking [baseline] (1.438 ms) : 0, 1438
crashtracking [candidate] (1.439 ms) : 0, 1439
BytebuddyAgent [baseline] (846.638 ms) : 0, 846638
BytebuddyAgent [candidate] (855.363 ms) : 0, 855363
GlobalTracer [baseline] (231.257 ms) : 0, 231257
GlobalTracer [candidate] (234.485 ms) : 0, 234485
AppSec [baseline] (29.736 ms) : 0, 29736
AppSec [candidate] (25.897 ms) : 0, 25897
Debugger [baseline] (5.734 ms) : 0, 5734
Debugger [candidate] (6.782 ms) : 0, 6782
Remote Config [baseline] (592.059 µs) : 0, 592
Remote Config [candidate] (613.253 µs) : 0, 613
Telemetry [baseline] (8.137 ms) : 0, 8137
Telemetry [candidate] (8.159 ms) : 0, 8159
IAST [baseline] (28.213 ms) : 0, 28213
IAST [candidate] (31.754 ms) : 0, 31754
section profiling
crashtracking [baseline] (1.397 ms) : 0, 1397
crashtracking [candidate] (1.405 ms) : 0, 1405
BytebuddyAgent [baseline] (760.536 ms) : 0, 760536
BytebuddyAgent [candidate] (762.258 ms) : 0, 762258
GlobalTracer [baseline] (221.134 ms) : 0, 221134
GlobalTracer [candidate] (221.841 ms) : 0, 221841
AppSec [baseline] (30.549 ms) : 0, 30549
AppSec [candidate] (30.581 ms) : 0, 30581
Debugger [baseline] (6.21 ms) : 0, 6210
Debugger [candidate] (6.295 ms) : 0, 6295
Remote Config [baseline] (693.521 µs) : 0, 694
Remote Config [candidate] (693.083 µs) : 0, 693
Telemetry [baseline] (16.052 ms) : 0, 16052
Telemetry [candidate] (15.318 ms) : 0, 15318
ProfilingAgent [baseline] (108.539 ms) : 0, 108539
ProfilingAgent [candidate] (110.067 ms) : 0, 110067
Profiling [baseline] (109.184 ms) : 0, 109184
Profiling [candidate] (110.727 ms) : 0, 110727
LoadParameters
See matching parameters
SummaryFound 2 performance improvements and 2 performance regressions! Performance is the same for 8 metrics, 12 unstable metrics.
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.51.1-SNAPSHOT~cc99a817d3, baseline=1.51.1-SNAPSHOT~6ae1a5c3a5
dateFormat X
axisFormat %s
section baseline
no_agent (4.459 ms) : 4408, 4509
. : milestone, 4459,
iast (9.741 ms) : 9570, 9912
. : milestone, 9741,
iast_FULL (13.602 ms) : 13336, 13869
. : milestone, 13602,
iast_GLOBAL (9.815 ms) : 9646, 9983
. : milestone, 9815,
profiling (9.081 ms) : 8944, 9218
. : milestone, 9081,
tracing (7.522 ms) : 7410, 7634
. : milestone, 7522,
section candidate
no_agent (4.375 ms) : 4324, 4426
. : milestone, 4375,
iast (9.534 ms) : 9381, 9687
. : milestone, 9534,
iast_FULL (13.7 ms) : 13428, 13972
. : milestone, 13700,
iast_GLOBAL (10.307 ms) : 10126, 10488
. : milestone, 10307,
profiling (8.513 ms) : 8384, 8642
. : milestone, 8513,
tracing (7.64 ms) : 7534, 7747
. : milestone, 7640,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.51.1-SNAPSHOT~cc99a817d3, baseline=1.51.1-SNAPSHOT~6ae1a5c3a5
dateFormat X
axisFormat %s
section baseline
no_agent (36.793 ms) : 36506, 37079
. : milestone, 36793,
appsec (46.125 ms) : 45729, 46520
. : milestone, 46125,
code_origins (46.75 ms) : 46318, 47182
. : milestone, 46750,
iast (46.057 ms) : 45645, 46468
. : milestone, 46057,
profiling (47.471 ms) : 47005, 47936
. : milestone, 47471,
tracing (44.344 ms) : 43986, 44701
. : milestone, 44344,
section candidate
no_agent (36.878 ms) : 36574, 37182
. : milestone, 36878,
appsec (46.654 ms) : 46236, 47073
. : milestone, 46654,
code_origins (45.374 ms) : 44971, 45776
. : milestone, 45374,
iast (43.637 ms) : 43277, 43996
. : milestone, 43637,
profiling (48.392 ms) : 47973, 48810
. : milestone, 48392,
tracing (46.24 ms) : 45842, 46637
. : milestone, 46240,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 1 unstable metrics. Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.51.1-SNAPSHOT~cc99a817d3, baseline=1.51.1-SNAPSHOT~6ae1a5c3a5
dateFormat X
axisFormat %s
section baseline
no_agent (1.476 ms) : 1465, 1488
. : milestone, 1476,
appsec (2.451 ms) : 2399, 2504
. : milestone, 2451,
iast (2.2 ms) : 2138, 2262
. : milestone, 2200,
iast_GLOBAL (2.235 ms) : 2172, 2297
. : milestone, 2235,
profiling (2.04 ms) : 1989, 2090
. : milestone, 2040,
tracing (2.001 ms) : 1953, 2049
. : milestone, 2001,
section candidate
no_agent (1.475 ms) : 1463, 1486
. : milestone, 1475,
appsec (3.655 ms) : 3437, 3872
. : milestone, 3655,
iast (2.193 ms) : 2131, 2256
. : milestone, 2193,
iast_GLOBAL (2.239 ms) : 2176, 2302
. : milestone, 2239,
profiling (2.051 ms) : 2000, 2102
. : milestone, 2051,
tracing (2.012 ms) : 1963, 2060
. : milestone, 2012,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.51.1-SNAPSHOT~cc99a817d3, baseline=1.51.1-SNAPSHOT~6ae1a5c3a5
dateFormat X
axisFormat %s
section baseline
no_agent (15.407 s) : 15407000, 15407000
. : milestone, 15407000,
appsec (14.818 s) : 14818000, 14818000
. : milestone, 14818000,
iast (18.14 s) : 18140000, 18140000
. : milestone, 18140000,
iast_GLOBAL (17.968 s) : 17968000, 17968000
. : milestone, 17968000,
profiling (15.491 s) : 15491000, 15491000
. : milestone, 15491000,
tracing (14.819 s) : 14819000, 14819000
. : milestone, 14819000,
section candidate
no_agent (15.055 s) : 15055000, 15055000
. : milestone, 15055000,
appsec (14.617 s) : 14617000, 14617000
. : milestone, 14617000,
iast (18.211 s) : 18211000, 18211000
. : milestone, 18211000,
iast_GLOBAL (17.953 s) : 17953000, 17953000
. : milestone, 17953000,
profiling (15.264 s) : 15264000, 15264000
. : milestone, 15264000,
tracing (14.882 s) : 14882000, 14882000
. : milestone, 14882000,
|
ratelimitedLogger.warn("SourceFile Tracking queue full, dropping class: {}", className); | ||
return null; | ||
} | ||
queue.add(new SourceFileItem(className, classfileBuffer)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably no real concerns of a race condition here given where this lives but thought I'd call it out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah multiple class loads can happen concurrently here, we can overshoot the limit but this is not a problem. What we want here is putting a limitation of the total item that are queued to not fill up the memory. 4096 is arbitrary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's what I thought but wanted to double check.
| Package | Type | Package file | Manager | Update | Change | |---|---|---|---|---|---| | [redis.clients:jedis](https://github.com/redis/jedis) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `6.0.0` -> `6.1.0` | | [com.google.api.grpc:proto-google-common-protos](https://github.com/googleapis/sdk-platform-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `2.59.2` -> `2.60.0` | | [com.google.cloud:google-cloud-core-http](https://github.com/googleapis/sdk-platform-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `2.58.2` -> `2.59.0` | | [com.google.cloud:google-cloud-core](https://github.com/googleapis/sdk-platform-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `2.58.2` -> `2.59.0` | | [com.google.api:gax](https://github.com/googleapis/sdk-platform-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `2.68.2` -> `2.69.0` | | [com.squareup.wire](https://github.com/square/wire) | plugin | misk/gradle/libs.versions.toml | gradle | patch | `5.3.5` -> `5.3.6` | | [com.squareup.wire:wire-schema](https://github.com/square/wire) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `5.3.5` -> `5.3.6` | | [com.squareup.wire:wire-runtime](https://github.com/square/wire) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `5.3.5` -> `5.3.6` | | [com.squareup.wire:wire-reflector](https://github.com/square/wire) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `5.3.5` -> `5.3.6` | | [com.squareup.wire:wire-moshi-adapter](https://github.com/square/wire) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `5.3.5` -> `5.3.6` | | [com.squareup.wire:wire-grpc-client](https://github.com/square/wire) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `5.3.5` -> `5.3.6` | | [com.squareup.wire:wire-bom](https://github.com/square/wire) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `5.3.5` -> `5.3.6` | | [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.51.2` -> `1.52.0` | | [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.32.14` -> `2.32.15` | | [software.amazon.awssdk:sqs](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.32.14` -> `2.32.15` | | [software.amazon.awssdk:regions](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.32.14` -> `2.32.15` | | [software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.32.14` -> `2.32.15` | | [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.32.14` -> `2.32.15` | | [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.32.14` -> `2.32.15` | | [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.32.14` -> `2.32.15` | | [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.32.14` -> `2.32.15` | --- ### Release Notes <details> <summary>redis/jedis (redis.clients:jedis)</summary> ### [`v6.1.0`](https://github.com/redis/jedis/releases/tag/v6.1.0): 6.1.0 ### Changes #### 🚀 New Features - Add support for SVS-VAMANA vector indexing ([#​4222](redis/jedis#4222)) - Clarify why new stream entries aren't deleted with XDELEX ([#​4218](redis/jedis#4218)) - Add support for new stream commands ([#​4211](redis/jedis#4211)) - Add Support for New BITOP Operations in Redis 8.2 ([#​4188](redis/jedis#4188)) ([#​4190](redis/jedis#4190)) - Add binary stream support for XREAD and XREADGROUP ([#​3566](redis/jedis#3566)) ([#​4152](redis/jedis#4152)) - Run pipeline in current thread if all the keys on same node ([#​4149](redis/jedis#4149)) #### 🐛 Bug Fixes - Restore binary compatibility of SetParams ([#​4225](redis/jedis#4225)) - Fix memory leak in JedisClusterInfoCache - replica nodes not cleared ([#​4205](redis/jedis#4205)) - Fix:JedisCluster throws NullPointerException when maxAttempts is set to 0 ([#​4186](redis/jedis#4186)) #### 🧰 Maintenance - DOC-5471 time series doc examples ([#​4210](redis/jedis#4210)) - Bump jackson.version from 2.19.1 to 2.19.2 ([#​4208](redis/jedis#4208)) - Fix flaky test ClientCommandsTest.killSkipmeYesNo ([#​4206](redis/jedis#4206)) - Bump org.junit:junit-bom from 5.13.2 to 5.13.3 ([#​4198](redis/jedis#4198)) - Migrate publishing to Maven Central Portal ([#​4199](redis/jedis#4199)) - Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.7 to 3.2.8 ([#​4197](redis/jedis#4197)) - Bump org.junit:junit-bom from 5.13.1 to 5.13.2 ([#​4192](redis/jedis#4192)) - DOC-5227 added probabilistic data type examples ([#​4184](redis/jedis#4184)) - Bump jackson.version from 2.19.0 to 2.19.1 ([#​4180](redis/jedis#4180)) - Update test infra to use latest Redis ([#​4179](redis/jedis#4179)) - Bump org.junit:junit-bom from 5.13.0-RC1 to 5.13.1 ([#​4174](redis/jedis#4174)) - Bump org.json:json from [`2025010`](redis/jedis@20250107) to [`2025051`](redis/jedis@20250517) ([#​4171](redis/jedis#4171)) - Bump org.apache.httpcomponents.client5:httpclient5-fluent from 5.4.4 to 5.5 ([#​4170](redis/jedis#4170)) - Fix flaky tests in DocumentTest ([#​3617](redis/jedis#3617)) - Add retryable command execution example ([#​3780](redis/jedis#3780)) - Bump jackson.version from 2.18.3 to 2.19.0 ([#​4160](redis/jedis#4160)) - Bump com.google.code.gson:gson from 2.12.1 to 2.13.1 ([#​4161](redis/jedis#4161)) #### Contributors We'd like to thank all the contributors who worked on this release! [@​219sansim](https://github.com/219sansim), [@​YoHanKi](https://github.com/YoHanKi), [@​andy-stark-redis](https://github.com/andy-stark-redis), [@​ggivo](https://github.com/ggivo), [@​jujn](https://github.com/jujn), [@​thachlp](https://github.com/thachlp), [@​uglide](https://github.com/uglide) and [@​xrayw](https://github.com/xrayw) </details> <details> <summary>googleapis/sdk-platform-java (com.google.api.grpc:proto-google-common-protos)</summary> ### [`v2.60.0`](https://github.com/googleapis/sdk-platform-java/blob/HEAD/CHANGELOG.md#2600-2025-06-23) ##### Features - handle auto pagination for BigQuery v2 ([#​3829](googleapis/sdk-platform-java#3829)) ([025c84c](googleapis/sdk-platform-java@025c84c)) ##### Dependencies - update google auth library dependencies to v1.37.1 ([#​3846](googleapis/sdk-platform-java#3846)) ([ea1d9e5](googleapis/sdk-platform-java@ea1d9e5)) - update google http client dependencies to v1.47.1 ([#​3848](googleapis/sdk-platform-java#3848)) ([a9a39d7](googleapis/sdk-platform-java@a9a39d7)) </details> <details> <summary>square/wire (com.squareup.wire)</summary> ### [`v5.3.6`](https://github.com/square/wire/blob/HEAD/CHANGELOG.md#Version-536) [Compare Source](square/wire@5.3.5...5.3.6) *2025-08-05* ##### CLI - New CLI option `--ignore_unused_roots_and_prunes` ([#​3354](square/wire#3354)) ##### JVM - Fix: Handle negative hexadecimal in default values ([#​3355](square/wire#3355)) - Optimization: Avoid copying of repeated and map types when mutableTypes are being used ([#​3352](square/wire#3352) by \[Rahul Ravikumar]\[tikurahul]) ##### Swift - Fix: Properly disambiguate OneOf enum if it has the same name as enclosing type ([#​3350](square/wire#3350) by \[Dimitris Koutsogiorgas]\[dnkoutso]) </details> <details> <summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary> ### [`v1.52.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.52.0): 1.52.0 ### Components #### Application Security Management (WAF) - ✨ Only report ASM\_DD, ASM\_DATA and ASM capabilities when AppSec is enabled ([#​9260](DataDog/dd-trace-java#9260) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - 🐛 Fix NPE in AppSecConfigServiceImpl ([#​9165](DataDog/dd-trace-java#9165) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - 🐛 Fix AppSec play.mvc.StatusHeader instrumentation for play 2.6 ([#​9160](DataDog/dd-trace-java#9160) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) #### Build & Tooling - ✨📖 Automatically register crashtracking via native extensions ([#​8851](DataDog/dd-trace-java#8851) - [@​MattAlp](https://github.com/MattAlp)) #### Configuration at Runtime - ✨ Create activation origin config for telemetry ([#​9064](DataDog/dd-trace-java#9064) - [@​sezen-datadog](https://github.com/sezen-datadog)) #### Continuous Integration Visibility - ✨ Update GitLab provided tags ([#​9275](DataDog/dd-trace-java#9275) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - 🐛 Fix base branch SHA usage in GitHub Actions ([#​9257](DataDog/dd-trace-java#9257) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Add `ci.job.id` tag ([#​9256](DataDog/dd-trace-java#9256) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Add new org to Weaver instrumentation ([#​9235](DataDog/dd-trace-java#9235) - [@​daniel-mohedano](https://github.com/daniel-mohedano) - thanks for the contribution!) - ✨ Improve Git commit info building ([#​9210](DataDog/dd-trace-java#9210) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Update Attempt to Fix to v5 ([#​9145](DataDog/dd-trace-java#9145) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) #### Crash tracking - ✨📖 Automatically register crashtracking via native extensions ([#​8851](DataDog/dd-trace-java#8851) - [@​MattAlp](https://github.com/MattAlp)) #### Data Streams Monitoring - ✨ Reduce DSM CPU overheard ([#​9151](DataDog/dd-trace-java#9151) - [@​kr-igor](https://github.com/kr-igor)) - ✨⚡ DSM optimizations for high throughput scenarios ([#​9137](DataDog/dd-trace-java#9137) - [@​kr-igor](https://github.com/kr-igor)) #### Database Monitoring - 🐛 Fix duplicate trace injection for SQL Server and Oracle DBM full propagation mode ([#​9224](DataDog/dd-trace-java#9224) - [@​lu-zhengda](https://github.com/lu-zhengda)) #### Dynamic Instrumentation - 🐛 Add URI in string primitives ([#​9285](DataDog/dd-trace-java#9285) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Increase SourceFile tracking max queue size ([#​9271](DataDog/dd-trace-java#9271) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add capping on SourceFile tracking queue ([#​9245](DataDog/dd-trace-java#9245) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add third-party filtering in SourceFile tracking ([#​9205](DataDog/dd-trace-java#9205) - [@​jpbempel](https://github.com/jpbempel)) #### ML Observability (LLMObs) - ✨ Add methods to capture embedding and retrieval spans ([#​9297](DataDog/dd-trace-java#9297) - [@​nayeem-kamal](https://github.com/nayeem-kamal)) #### Metrics - ✨ Change primary client stats configuration key ([#​9196](DataDog/dd-trace-java#9196) - [@​amarziali](https://github.com/amarziali)) - ✨ Calculate client stats also if the span kind is eligible ([#​9157](DataDog/dd-trace-java#9157) - [@​amarziali](https://github.com/amarziali)) - ✨ Backpropagate peer tags ([#​9144](DataDog/dd-trace-java#9144) - [@​bric3](https://github.com/bric3)) - 🐛 Make client stats reliable in case of downgrade ([#​9136](DataDog/dd-trace-java#9136) - [@​amarziali](https://github.com/amarziali)) #### Platform components - 🐛 Fix VM options parsing from /proc/fs ([#​9255](DataDog/dd-trace-java#9255) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) #### Profiling - ✨ Switch profile compression to zstd default ([#​9293](DataDog/dd-trace-java#9293) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Bump ddprof to 1.29.0 ([#​9262](DataDog/dd-trace-java#9262) - [@​zhengyu123](https://github.com/zhengyu123)) - Potential memory leak and race with the JVMTI wallclock sampler by [@​zhengyu123](https://github.com/zhengyu123) in DataDog/java-profiler#234 - Downport async-profiler no-allocation changes by [@​zhengyu123](https://github.com/zhengyu123) in DataDog/java-profiler#245 - Adopt openjdk safefetch by [@​zhengyu123](https://github.com/zhengyu123) in DataDog/java-profiler#246 - Safe fetch 64-bit value and pointer by [@​zhengyu123](https://github.com/zhengyu123) in DataDog/java-profiler#247 - Rebase on Async-Profiler 4.1 by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#252 - Patch upstream stackWalker.cpp not to fail on unaligned access by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#218 - Remap thread id to avoid bitmap contention by [@​zhengyu123](https://github.com/zhengyu123) in DataDog/java-profiler#229 - Improve performance using Unsafe to activate/deactivate thread filter by [@​zhengyu123](https://github.com/zhengyu123) in DataDog/java-profiler#230 - Unify context propagation by [@​zhengyu123](https://github.com/zhengyu123) in DataDog/java-profiler#231 - 🐛 Fix the profiler stackdepth setting propagation in recent (22+) Java versions ([#​9130](DataDog/dd-trace-java#9130) - [@​jbachorik](https://github.com/jbachorik)) #### Realtime User Monitoring - ✨ Wrap servlet original PrintWriter on rum injector ([#​9146](DataDog/dd-trace-java#9146) - [@​amarziali](https://github.com/amarziali)) #### Telemetry - ✨ Create activation origin config for telemetry ([#​9064](DataDog/dd-trace-java#9064) - [@​sezen-datadog](https://github.com/sezen-datadog)) #### Tracer core - ✨⚡ Reduce span construction overhead by switching to optimized TagMap ([#​8589](DataDog/dd-trace-java#8589) - [@​dougqh](https://github.com/dougqh)) - 🐛 Match Hands Off Config selectors on process\_arguments value ([#​9201](DataDog/dd-trace-java#9201) - [@​paullegranddc](https://github.com/paullegranddc)) - ✨ Move JSON generation to sender thread to improve startup time. ([#​9197](DataDog/dd-trace-java#9197) - [@​AlexeyKuznetsov-DD](https://github.com/AlexeyKuznetsov-DD)) - ✨ Improve agent to avoid loading global config on main thread ([#​9190](DataDog/dd-trace-java#9190) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - ✨ add injection metadata fields to telemetry forwarder ([#​9185](DataDog/dd-trace-java#9185) - [@​sydney-tung](https://github.com/sydney-tung)) - 🐛 Avoid race conditions on feature discovery during Writer creation ([#​9173](DataDog/dd-trace-java#9173) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Surface potential root cause when agent initialization errors ([#​9170](DataDog/dd-trace-java#9170) - [@​AlexeyKuznetsov-DD](https://github.com/AlexeyKuznetsov-DD)) - 💡 Support adding W3C baggage as span tags ([#​9169](DataDog/dd-trace-java#9169) - [@​rachelyangdog](https://github.com/rachelyangdog)) - ✨⚡ Align our default classloader excludes with OTel ([#​9161](DataDog/dd-trace-java#9161) - [@​mcculls](https://github.com/mcculls)) - ✨ Backpropagate container tags hash coming from the info endpoint ([#​9156](DataDog/dd-trace-java#9156) - [@​amarziali](https://github.com/amarziali)) - 🐛 Avoid race conditions and multiple agent discovery feature states ([#​9135](DataDog/dd-trace-java#9135) - [@​amarziali](https://github.com/amarziali)) ### Instrumentations #### AWS SDK instrumentation - ✨ Enhance Service Representation for Serverless ([#​9203](DataDog/dd-trace-java#9203) - [@​zarirhamza](https://github.com/zarirhamza)) #### gRPC instrumentation - 🐛 Add check to prevent injection of repeated GRPC headers ([#​9246](DataDog/dd-trace-java#9246) - [@​mhlidd](https://github.com/mhlidd)) #### JDBC instrumentation - 🐛 Fix duplicate trace injection for SQL Server and Oracle DBM full propagation mode ([#​9224](DataDog/dd-trace-java#9224) - [@​lu-zhengda](https://github.com/lu-zhengda)) #### Play Framework instrumentation - 🐛 Fix AppSec play.mvc.StatusHeader instrumentation for play 2.6 ([#​9160](DataDog/dd-trace-java#9160) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) </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**: Enabled. ♻ **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: 9da36329ffa552291a640381780b608ef6513e29
What Does This Do
tracks number of item put into the queue and dequeued. limits to 4096 items.
Avoid using queue.size that is O(n) and keep the size in AtomicInteger dump the number of entries in the SourceFile map into tracer flare
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-4189