Repository navigation
Conversation
Scan-Build Report
Bug Summary
Filter Results by FileReports
|
|||||||||||||||||||||||||||||||||||||||||||||||||
CI Test ResultsRun: #43913472750 | Commit:
Status Overview
Legend: ✅ passed | ❌ failed | ⚪ skipped | 🚫 cancelled Summary: Total: 32 | Passed: 32 | Failed: 0 Updated: 2026-11-16 17:23:08 UTC |
Reliability & Chaos Results
|
44f13b6 to
e5e74c6
Compare
e5e74c6 to
955fdf9
Compare
955fdf9 to
6eac7e5
Compare
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@DataDog review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6eac7e5fc8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
There was a problem hiding this comment.
The chunk_overhead gauge definition in ProfilerMemoryRequirements.md (and its counterpart in ProfilingEngines.md) must be corrected to describe only the excess over requested bytes — i.e. max(usable_size + header - requested, 0) — rather than the total allocator footprint, to match what NativeMem::recordAlloc() actually accumulates and Recording::writeNativeMem() exports.
🤖 Bits Code Review · Commit 6eac7e5
There was a problem hiding this comment.
The documentation for chunk_overhead in both ProfilerMemoryRequirements.md and ProfilingEngines.md incorrectly describes the gauge as a total allocation footprint, when NativeMem::overhead() actually accumulates max(usable size + header − requested bytes, 0) — the excess over requested bytes only.
🤖 Bits Code Review · Commit 6eac7e5
6eac7e5 to
9488ee9
Compare
9488ee9 to
775ae11
Compare
There was a problem hiding this comment.
More details
The PR corrects wording that equated allocator accounting with RSS and removes reclamation claims based on fordblks. Computations and assertion conditions remain unchanged. The new head introduces no file changes relative to the previously reviewed head, so the prior review remains applicable. No findings remain open.
🤖 Bits Code Review · Commit 99976ab
99976ab to
33cf6d0
Compare
There was a problem hiding this comment.
More details
The revised wording distinguishes allocator accounting and free-held bytes from residency, avoiding RSS claims those counters cannot establish. Calculations and assertion conditions remain unchanged.
🤖 Bits Code Review · Commit 33cf6d0
33cf6d0 to
1fcfdb3
Compare
There was a problem hiding this comment.
More details
The revised chunk_overhead descriptions match the allocator-accounting calculation and distinguish it from resident memory. Calculations and assertion conditions remain unchanged.
🤖 Bits Code Review · Commit 1fcfdb3
1fcfdb3 to
3d99d31
Compare
There was a problem hiding this comment.
More details
The revised allocator descriptions distinguish per-object accounting from resident memory and define overhead relative to requested bytes. Computations and assertion conditions remain unchanged.
🤖 Bits Code Review · Commit 3d99d31
The MallocFootprint and NativeMem comments, two docs and the arena-stats test now describe the estimate as usable size plus the probed header; mallinfo2 free-held figures make no residency claim. No behavior changes.
The gauge accumulates usable size plus the probed header minus the requested allocation, not the full footprint; align the two doc passages and the recordAlloc comment
3d99d31 to
f905a8c
Compare
There was a problem hiding this comment.
More details
The revised counter descriptions correctly distinguish allocator overhead from resident memory. Calculations and assertion conditions remain unchanged, and the completed static review identified no actionable defects.
🤖 Bits Code Review · Commit f905a8c
Summary
Correct wording that equates the per-object allocation estimate with resident memory. Tracker: PROF-16568. Stacked on #972. Wording only — no behavior change. (Re-opens the content of #973, which was merged while still a draft and in a confused head state — its merge was a no-op and added no commit; this PR carries the actual A3 commit.)
The
MallocFootprint/NativeMemcomments call the per-object estimate the "real resident cost" and "what RSS actually pays". That is refuted by measurement: with the same estimate, measured residency differs by 2× at 8192 B between glibc and musl — the estimate is allocator accounting (usable size plus the probed header), blind to occupancy. Anyone reading those comments as an RSS budget will be wrong by factors.What changed
mallocFootprint.h: class andoverheadOfcomments now describe per-object allocator accounting.nativeMem.h:_overheadandrecordAlloccomments likewise.ProfilerMemoryRequirements.md,ProfilingEngines.md: one sentence each describingchunk_overhead(native_mem_chunk_overhead_bytes.) the same way.mallocArenaStats_ut.cpp(InterleavedSurvivorsStrandFreeChunksBeyondTrim): the comment, the[TRIM]printf and theEXPECT_GTmessage no longer claimmalloc_trim"reclaims" memory —mallinfo2().fordblksis free-held accounting and cannot see anmadviserelease. The assertion conditions are byte-identical.Not changed
No computation, counter name (
native_mem_chunk_overhead_bytes.), or assertion condition. The gtest was verified green in a glibc container on this candidate (gtestDebug_mallocArenaStats_ut, 3/3 passed, reworded printf visible).spotlessCheck+qualityChecksgreen; agentic review (sphinx, quick) clean — 0 findings across all 8 regions.