Add Thread.sleep TaskBlock profiling instrumentation#11546
Draft
kaahos wants to merge 3 commits into
Draft
Conversation
This comment has been minimized.
This comment has been minimized.
kaahos
force-pushed
the
paul.fournillon/wallclock-threadsleep-taskblock
branch
6 times, most recently
from
June 9, 2026 00:26
6773517 to
9518481
Compare
kaahos
force-pushed
the
paul.fournillon/wallclock-threadsleep-taskblock
branch
2 times, most recently
from
June 14, 2026 22:42
cb6ac2e to
3813d16
Compare
kaahos
force-pushed
the
paul.fournillon/wallclock-threadsleep-taskblock
branch
7 times, most recently
from
July 9, 2026 14:07
a17800d to
3b2438e
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-threadsleep-taskblock
branch
8 times, most recently
from
July 9, 2026 22:31
820b25c to
6d440fc
Compare
kaahos
force-pushed
the
paul.fournillon/wallclock-threadsleep-taskblock
branch
from
July 16, 2026 14:49
6d440fc to
3506c4e
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-threadsleep-taskblock
branch
from
July 17, 2026 14:40
3506c4e to
576b153
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
Adds TaskBlock profiling for
Thread.sleepandTimeUnit.sleepby rewriting sleep call sites and emitting deferred TaskBlock events with profiling context.Motivation
Capturing sleep intervals as TaskBlock events makes that waiting time explicit in wall-clock profiles.
Additional Notes
Contributor 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]