| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Scan-Build Report
Bug Summary
Reports
|
||||||||||||||||||||||||||||||||||||
Sorry, something went wrong.
CI Test ResultsRun: #36585034644 | Commit: 11db259 | Duration: 16m 46s (longest job)
Status Overview
Legend: ✅ passed | ❌ failed | ⚪ skipped | 🚫 cancelled Summary: Total: 32 | Passed: 32 | Failed: 0 Updated: 2026-09-29 15:04:04 UTC |
Sorry, something went wrong.
Sorry, something went wrong.
❌ ErrorsYour PR has failed checks. Please review the issues below and take necessary action before merging. 🚦 3 Pipeline jobs failed
Useful? React with 👍 / 👎 This comment will be updated automatically if new data arrives.🔗 Commit SHA: 5c8cdff | Docs | View more details | Give us feedback! |
Sorry, something went wrong.
…va-profiler into zgu/jdk8_patchClassLoaderData
There was a problem hiding this comment.
The static review finds no defect in the JDK 8 lock recovery or per-class delta tag paths.
Was this helpful? React 👍 or 👎🤖 Datadog Autotest · Commit 2ba3f13 · What is Autotest? · @DataDog review to ask questions · Any feedback? Reach out in #autotest
Sorry, something went wrong.
There was a problem hiding this comment.
Here are some automated review suggestions for this pull request.
Reviewed commit: 08ef73bae8
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was a problem hiding this comment.
A JDK 8 class transformation keeps the old tag. The next method reload skips the required MethodList preallocation when the method count stays the same.
🤖 Datadog Autotest · Commit 08ef73b · What is Autotest? · @DataDog review to ask questions · Any feedback? Reach out in #autotest
Sorry, something went wrong.
There was a problem hiding this comment.
Sphinx review — 7 approved findings (deduplicated from 15 raw; 0 CRITICAL/HIGH, 2 MEDIUM, 4 LOW, 1 INFO).
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
What does this PR do?:
Hotspot JDK8 specific.
patchClassLoaderData() prepends MethodList blocks onto a class's ClassLoaderData to work around a JDK 8 jmethodID layout bug. This PR hardens that path:
Motivation:
Fault injection testing found that unprotected access to the JVM class loader data mutex and method list in patchClassLoaderData() could crash or deadlock the JVM.
Additional Notes:
The SetTag() call is not serialized against a concurrent patchClassLoaderData() call for the same class, so two racing callers can both observe a stale tag and both patch. This only wastes one extra round of preallocated blocks in that rare case; unlike the original unguarded code, it can no longer grow unboundedly.
How to test the change?:
Added unit tests in ddprof-lib/src/test/cpp/hotspotSupport_ut.cpp covering the locking/crash-protection and idempotent-tagging behavior of patchClassLoaderData().
For Datadog employees:
credentials of any kind, I've requested a security review (run the dd:platform-security-review
skill, or file a request via the PSEC review form).
bewaire also runs automatically on every PR.
Unsure? Have a question? Request a review!