Repository navigation
feat(wall): support unfiltered suppression and protect crash bootstrap (PROF-12146) #663
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
Open
Changes from all commits
Commits
Show all changes
81 commits
Select commit
Hold shift + click to select a range
1118f62
feat(wall): track all threads for unfiltered wall-clock precheck
kaahos 40dbe8e
Merge branch 'main' into paul.fournillon/wallclock-all-threads
kaahos d82291f
Merge branch 'main' into paul.fournillon/wallclock-all-threads
kaahos ec76f58
fix: apply review suggestions
kaahos 52def55
Merge branch 'main' into paul.fournillon/wallclock-all-threads
kaahos 9723a5a
Merge branch 'main' into paul.fournillon/wallclock-all-threads
kaahos e6c6793
fix: apply review
kaahos 51a9178
Merge branch 'main' into paul.fournillon/wallclock-all-threads
kaahos 9e3701e
Merge branch 'main' into paul.fournillon/wallclock-all-threads
kaahos 4954d49
test: scope precheck workloads to all threads
kaahos 80f8049
fix: preserve JVMTI frames in overlapping buffers
kaahos 31c5cfc
test: compare precheck counter delta
kaahos efb6648
fix: address sphinx review
kaahos 22b8e00
fix(wall): register unfiltered threads from lifecycle callbacks
kaahos d124905
Merge branch 'main' into paul.fournillon/wallclock-all-threads
kaahos 82e05b6
Merge branch 'main' into paul.fournillon/wallclock-all-threads
kaahos f5b81de
test: remove obsolete thread context reset
kaahos b397ac9
Merge remote-tracking branch 'origin/main' into paul.fournillon/wallc…
kaahos 599c21e
fix(test): migrate UnfilteredWallPrecheckTest to jafar JFR API
kaahos a68d3f2
Merge branch 'main' into paul.fournillon/wallclock-all-threads
kaahos 391fdd2
fix: address some review comments
kaahos d6f5b1a
fix: address review comments
kaahos 4d2c505
fix: avoid CAS on context-window enter/exit hot path
kaahos 8ef675e
Merge branch 'main' into paul.fournillon/wallclock-all-threads
kaahos 172e453
fix: fix musl bug
kaahos 1b94815
Merge branch 'main' into paul.fournillon/wallclock-all-threads
kaahos 26ae49b
fix: address some review comments
kaahos 930f734
fix: restore <unloaded> label and self-skip force-failure test in non…
jbachorik 772e5aa
fix: extract wallclock suppresion stuff from ThreadFilter into wallCl…
kaahos cd2ad5b
Merge branch 'main' into paul.fournillon/wallclock-all-threads
kaahos c8701f7
fix: address glibc issue with random
kaahos 30f63dc
fix: fix fuzz test
kaahos 37af845
fix: fix mutex performance regressions
kaahos 016e3f9
Merge branch 'main' into paul.fournillon/wallclock-all-threads
kaahos dc9d91b
fix: guard attributionPC against null pc (UBSan)
jbachorik d6a04bf
fix: use CallTraceSet in fuzz_callTraceStorage processTraces lambda
jbachorik fbfa879
test: assert <unloaded> label on the dump that fired jmethodid_skippe…
jbachorik 70a0cad
fix: changes to reduce memory footprint
kaahos b158ab9
fix: add chaos and fuzzing tests
kaahos 9a18895
Merge branch 'fix/nightlies_sanitized' into paul.fournillon/wallclock…
kaahos d6f6e9c
fix: address nits
kaahos 73b532d
fix: fix wrong comments
kaahos 6ae8dda
Merge branch 'main' into paul.fournillon/wallclock-all-threads
kaahos fa0e33d
fix: address review comments
kaahos b77821f
test: move flaky self-calibrating ThreadFilter perf tests to a benchmark
kaahos aef6d90
Merge branch 'main' into paul.fournillon/wallclock-all-threads
kaahos b13fd76
Merge branch 'main' into paul.fournillon/wallclock-all-threads
kaahos c433cb4
Merge branch 'main' into paul.fournillon/wallclock-all-threads
kaahos 5018858
fix: retain thread identities across recording restarts
kaahos 7124b6c
fix: preserve wall-clock memory accounting across timer restarts
kaahos 70230b4
perf: register unfiltered wall-clock threads lazily
kaahos 926fd3a
fix: address TID bug
kaahos 7928e27
fix: enforce weak tests and chaos tests
kaahos b1cda93
Merge branch 'main' into paul.fournillon/wallclock-all-threads
kaahos 64e4f99
Merge main into wallclock-all-threads
kaahos f083608
Fix wall-clock precheck accounting and chaos agent loading (#983)
kaahos 808698f
Fix wall-clock precheck weighting and context lifecycles
kaahos 7e7732b
Make wall block tracking lazy and skip clean boundary resets
kaahos 8ce583c
Bound wall precheck TID lookups to 256 probes
kaahos 847d568
Validate pinned malloc import layouts before patching
kaahos dd1ca0e
fix(ci): select and verify the labeled integration JVM
kaahos 281b5ae
fix: protect crash-handler bootstrap during thread teardown
kaahos ca50a03
test: skip crash-bootstrap mask-semantics tests under TSan
kaahos 2701fa5
test: repair bounded GC generations test lifecycle
kaahos 81493bc
fix: block profiling before publishing thread exit marks
kaahos 5d19fd6
Mark unprovisionable musl/OpenJ9 combinations not applicable
kaahos 5cfd570
test(ci): make the pipeline exclusion literal explicit
kaahos 06e672f
fix(ci): pin Semeru release tags and archive names separately
kaahos d3b1171
fix(nativemem): reject samples on exit-marked threads
kaahos 7abb2b5
fix(nativemem): validate import identity with live loader headers
kaahos bd58934
fix(nativemem): keep loader operations outside the patch mutex
kaahos 514c0f9
perf(nativemem): decide sampling before the exit-registry lookup
kaahos 1d53ad8
chore(stack): merge main into #663
kaahos 11069d5
test(crash): cover the last probe position of the exit registry
kaahos 790590a
docs(crash): count the identity syscall in crash-handler entry cost
kaahos a2c4a46
test(crash): isolate last-probe registry tests in forked children
kaahos 8c951f0
fix(wall): account retained block-tracker backing in its own native-m…
kaahos 4ecb575
test(wall): guard retained block-tracker memory across idle cycles
kaahos 69bb65e
fix(test): clear trace context in test teardown instead of stopProfiler
kaahos b75a9fc
test(memleak): align generations test with recording-scoped liveness
kaahos 5578def
chore(stack): merge main into #663
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| #!/usr/bin/env bash | ||
| # Copyright 2026, Datadog, Inc. | ||
| # Source with an installation root to export the selected Semeru JAVA_HOME. | ||
| set -euo pipefail | ||
|
|
||
| if [ "${LIBC_VARIANT}" != glibc ]; then | ||
| echo "ERROR: OpenJ9 integration requires glibc; no OpenJ9 musl runtime is configured" >&2 | ||
| exit 1 | ||
| fi | ||
|
|
||
| case "${ARCH}" in | ||
| x64|arm64) ;; | ||
| *) echo "ERROR: Unsupported OpenJ9 architecture: ${ARCH}" >&2; exit 1 ;; | ||
| esac | ||
|
|
||
| case "${JAVA_VERSION}" in | ||
| 8|11|17|21|25) ;; | ||
| *) echo "ERROR: Unsupported OpenJ9 JDK version: ${JAVA_VERSION}" >&2; exit 1 ;; | ||
| esac | ||
|
|
||
| # Tags and archive names are separate upstream identifiers, not a version template. | ||
| case "${JAVA_VERSION}-${ARCH}" in | ||
| 8-x64) | ||
| SEMERU_TAG=jdk-8.0.512.0 | ||
| SEMERU_ARCHIVE=ibm-semeru-open-jdk_x64_linux_8.0.512.0.tar.gz | ||
| ;; | ||
| 8-arm64) | ||
| SEMERU_TAG=jdk-8.0.512.0 | ||
| SEMERU_ARCHIVE=ibm-semeru-open-jdk_aarch64_linux_8.0.512.0.tar.gz | ||
| ;; | ||
| 11-x64) | ||
| SEMERU_TAG=jdk-11.0.33.0 | ||
| SEMERU_ARCHIVE=ibm-semeru-open-jdk_x64_linux_11.0.33.0.tar.gz | ||
| ;; | ||
| 11-arm64) | ||
| SEMERU_TAG=jdk-11.0.33.0 | ||
| SEMERU_ARCHIVE=ibm-semeru-open-jdk_aarch64_linux_11.0.33.0.tar.gz | ||
| ;; | ||
| 17-x64) | ||
| SEMERU_TAG=jdk-17.0.21.0 | ||
| SEMERU_ARCHIVE=ibm-semeru-open-jdk_x64_linux_17.0.21.0.tar.gz | ||
| ;; | ||
| 17-arm64) | ||
| SEMERU_TAG=jdk-17.0.21.0 | ||
| SEMERU_ARCHIVE=ibm-semeru-open-jdk_aarch64_linux_17.0.21.0.tar.gz | ||
| ;; | ||
| 21-x64) | ||
| SEMERU_TAG=jdk-21.0.13.0 | ||
| SEMERU_ARCHIVE=ibm-semeru-open-jdk_x64_linux_21.0.13.0.tar.gz | ||
| ;; | ||
| 21-arm64) | ||
| SEMERU_TAG=jdk-21.0.13.0 | ||
| SEMERU_ARCHIVE=ibm-semeru-open-jdk_aarch64_linux_21.0.13.0.tar.gz | ||
| ;; | ||
| 25-x64) | ||
| SEMERU_TAG=jdk-25.0.5.0 | ||
| SEMERU_ARCHIVE=ibm-semeru-open-jdk_x64_linux_25.0.5.0.tar.gz | ||
| ;; | ||
| 25-arm64) | ||
| SEMERU_TAG=jdk-25.0.5.0 | ||
| SEMERU_ARCHIVE=ibm-semeru-open-jdk_aarch64_linux_25.0.5.0.tar.gz | ||
| ;; | ||
| esac | ||
|
|
||
| export JAVA_HOME="${1:?installation root required}/openj9-${JAVA_VERSION}" | ||
| DOWNLOAD_URL="https://github.com/ibmruntimes/semeru${JAVA_VERSION}-binaries/releases/download/${SEMERU_TAG}/${SEMERU_ARCHIVE}" | ||
| mkdir -p "${JAVA_HOME}" | ||
| curl --fail --location --retry 3 --retry-delay 5 "${DOWNLOAD_URL}" \ | ||
| | tar xzf - -C "${JAVA_HOME}" --strip-components=1 | ||
|
|
||
| if [ ! -x "${JAVA_HOME}/bin/java" ] || [ ! -x "${JAVA_HOME}/bin/javac" ]; then | ||
| echo "ERROR: Semeru archive does not contain an executable JDK at ${JAVA_HOME}" >&2 | ||
| exit 1 | ||
| fi | ||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.