Add LockSupport TaskBlock profiling instrumentation#11545
Draft
kaahos wants to merge 2 commits into
Draft
Conversation
This comment has been minimized.
This comment has been minimized.
kaahos
force-pushed
the
paul.fournillon/wallclock-locksupport-taskblock
branch
4 times, most recently
from
June 5, 2026 13:18
b5ead17 to
235547a
Compare
jbachorik
reviewed
Jun 9, 2026
kaahos
force-pushed
the
paul.fournillon/wallclock-locksupport-taskblock
branch
from
June 12, 2026 13:25
235547a to
84fded4
Compare
kaahos
force-pushed
the
paul.fournillon/wallclock-locksupport-taskblock
branch
from
July 6, 2026 09:54
a20d06d to
71c8070
Compare
Contributor
🔴 Java Benchmark SLOs — Performance SLO breach detected
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
kaahos
force-pushed
the
paul.fournillon/wallclock-locksupport-taskblock
branch
12 times, most recently
from
July 9, 2026 20:56
53336b8 to
82ca3c9
Compare
kaahos
force-pushed
the
paul.fournillon/wallclock-locksupport-taskblock
branch
from
July 16, 2026 14:47
82ca3c9 to
15c54ef
Compare
Contributor
|
❌ New Groovy Files Detected Please avoid introducing new
Instead, rewrite the new file(s) in Java / JUnit. See the How to Test With JUnit Guide for more details. If this PR needs an exception, add the |
kaahos
force-pushed
the
paul.fournillon/wallclock-locksupport-taskblock
branch
from
July 16, 2026 14:48
15c54ef to
b557c8b
Compare
kaahos
force-pushed
the
paul.fournillon/wallclock-locksupport-taskblock
branch
from
July 17, 2026 14:23
b557c8b to
a1815d5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Does This Do
Add TaskBlock profiling instrumentation for
LockSupport.park/unpark, including blocker and unblocking span attribution where available.Motivation
LockSupport.parkis widely used by executors, queues, schedulers, and virtual-thread internals. Capturing these park intervals as TaskBlock events makes parked time attributable to spans and easier to separate from active execution in wall-clock profiles.Additional Notes
DD_TRACE_LOCK_SUPPORT_ENABLEDContributor Checklist
type:and (comp:orinst:) labels in addition to any other useful labelsclose,fix, or any linking keywords when referencing an issueUse
solvesinstead, and assign the PR milestone to the issue/merge. You can also:/merge --commit-message "..."/merge -c/merge -f --reason "reason"; please use this judiciously, as some checks do not run at the PR-levelJira ticket: [PROJ-IDENT]