Repository navigation
Java profiler remote enablement - #907
Draft
zhengyu123 wants to merge 10 commits into
Draft
zhengyu123 wants to merge 10 commits into
zhengyu123 wants to merge 10 commits into
Conversation
Contributor
CI Test ResultsRun: #41566122030 | Commit:
Status Overview
Legend: ✅ passed | ❌ failed | ⚪ skipped | 🚫 cancelled ❌ Failing tests
Retried 2 of 32 cells. Failed JobsSummary: Total: 32 | Passed: 30 | Failed: 2 Updated: 2026-11-03 02:53:34 UTC |
Contributor
This comment has been minimized.
This comment has been minimized.
Resolved the include conflict in hotspot/jitCodeCache.cpp by keeping both common.h (TEST_LOG, this branch) and counters.h (Counters::, main). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- CallTraceStorage allocates no tables until acquire(): the profiler holds none before the first start(). processTraces() on released storage hands the processor only the dropped-trace placeholder instead of crashing. - start(): the nativemem-only failure path and the stack-buffer calloc failure path now close thread registration and release recording memory, like the "no engine activated" path. - Set DebugNonSafepoints at agent load on every HotSpot; COMPILED_METHOD_LOAD is only enabled on the first start(), and its replay cannot add debug info to code compiled before then. - recordTrace0()/recordQueueEnd0() do nothing while the profiler is idle, so they no longer re-allocate the dictionaries stop() released. - patch_pthread_create() re-checks already patched libraries only when glibc's unload count (dlpi_subs) changed since the last full pass. - Move the per-platform MallocHooker patch/unpatch into mallocTracer_linux.cpp and mallocTracer_macos.cpp. - Add missing Datadog copyright lines. - NativeMem::logLive() prints live bytes per category (total in KB) after Profiler::init() and before Profiler::start(); ProfilerLifecycleTest prints its totals in KB. - Update the affected architecture docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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 PR do?:
Motivation:
Additional Notes:
How to test the change?:
For Datadog employees:
credentials of any kind, I've requested a security review (run the
dd:platform-security-reviewskill, or file a request via the PSEC review form).
bewairealso runs automatically on every PR.Unsure? Have a question? Request a review!