-
Notifications
You must be signed in to change notification settings - Fork 11
add early thread-state check and TaskBlock emission for wall-clock #502
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
Open
kaahos
wants to merge
43
commits into
main
Choose a base branch
from
paul.fournillon/wallclock_precheck
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
323eed7
feat(thread-filter): add VMThread* slot to ThreadFilter for OS-state …
kaahos f80802b
feat(wall): register VMThread* in ThreadFilter at thread start and end
kaahos 10129d2
test(wall): add PrecheckTest and PrecheckEfficiencyTest; disable prec…
kaahos 28856f4
fix(liveness): update the _record_heap_usage flag if profiler args ch…
kaahos ff11514
feat(jfr): add TaskBlockEvent and datadog.TaskBlock metadata
kaahos 0fd00b5
feat(jfr): record datadog.TaskBlock in FlightRecorder
kaahos 51cd4e3
feat(thread): add park enter/exit state for wall-clock gating
kaahos 13fbd20
feat(wall): store ProfiledThread in thread filter for wall sampling
kaahos 05d9ac4
feat(wall): skip wall SIGVTALRM while thread is parked
kaahos dcc0810
feat(api): add recordTaskBlock and park JNI entry points
kaahos cb97b77
fix(hotspot): guard VMThread access for non-HotSpot JVMs
kaahos 430e979
test(thread): add gtests for ProfiledThread park state
kaahos 81c7712
test(wall): add TaskBlock and combined precheck/park coverage
kaahos c45d4d0
fix
kaahos 7843f86
Merge branch 'main' into paul.fournillon/wallclock_precheck
kaahos 9db91f8
chore: renaming things
kaahos 199e533
fix: add wall-clock suppression accounting
kaahos 54fc911
fix: centralize TaskBlock recording eligibility
kaahos 26eb685
fix: record Object.wait TaskBlock via JVMTI
kaahos 1ad80d6
fix: fix recordTaskBlock
kaahos 76036eb
fix: clear park span bits and monitor-wait on buffer recycle
kaahos 70d7bbb
test: cover releaseFromBuffer park and monitor-wait reset
kaahos c3715c4
chore: clarify JVMTI monitor-wait registration for JDK <21
kaahos ab57de5
fix: apply review
kaahos 8a4f530
Merge branch 'main' into paul.fournillon/wallclock_precheck
kaahos 5e4b08a
fix
kaahos 62941d5
fix: apply copilot review
kaahos a0dfd45
fix: set wallprecheck default flag to false
kaahos 4529440
fix: wallprecheck default value to false
kaahos 76d78dc
fix: fix WallClockSamplingEpoch metadata
kaahos 14228b4
refactor(taskblock): capture context natively via ContextApi; drop sp…
kaahos 5189cf0
feat(jfr): reorder datadog.TaskBlock fields to precede the context block
kaahos fe4df73
test(park): regression case for OTEP-snapshotted span and custom attr…
kaahos cc7bef4
refactor(jvmti): rename MonitorWait dispatch to ObjectWait*
kaahos fea34f1
docs: clarify JVMTI MonitorWait observes Object.wait, not OSThreadSta…
kaahos b6c82ee
feat(wallclock): move wallprecheck filter from timer thread to signal…
kaahos f157b86
fix: fix robustness and correctness of the tests
kaahos 2b2ca17
fix: move once-per-run filter state to ThreadFilter::Slot
kaahos a17586a
fix: skip sending wall-clock signals to threads already sampled while…
kaahos 9cbf303
feat: native synchronized-contention capture via MonitorContendedEnte…
kaahos a45836e
feat: delegate-monitor-events handshake for JDK 21+ agent integration
kaahos 3316291
test: fix wall-clock/TaskBlock test set
kaahos 8587c5e
fix
kaahos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
These changes are coincidental, right?