Skip to content

feat(profiling): backport MEM-domain heap profiling to 4.8 (#17886)#18543

Draft
vlad-scherbich wants to merge 1 commit into
4.8from
vlad/memalloc-support-mem-domain-4.8-experiment
Draft

feat(profiling): backport MEM-domain heap profiling to 4.8 (#17886)#18543
vlad-scherbich wants to merge 1 commit into
4.8from
vlad/memalloc-support-mem-domain-4.8-experiment

Conversation

@vlad-scherbich

Copy link
Copy Markdown
Contributor

Minimal copy-paste of OBJ-domain allocator hooks to MEM domain, gated behind DD_PROFILING_MEMORY_MEM_DOMAIN_ENABLED=true and Python >= 3.12.

@vlad-scherbich vlad-scherbich deleted the vlad/memalloc-support-mem-domain-4.8-experiment branch June 9, 2026 14:57
@vlad-scherbich vlad-scherbich restored the vlad/memalloc-support-mem-domain-4.8-experiment branch June 9, 2026 14:58
@vlad-scherbich vlad-scherbich reopened this Jun 9, 2026
@datadog-prod-us1-6

datadog-prod-us1-6 Bot commented Jun 9, 2026

Copy link
Copy Markdown

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 6 Pipeline jobs failed

DataDog/apm-reliability/dd-trace-py | build windows: [3.9, amd64]   View in Datadog   GitLab

DataDog/apm-reliability/dd-trace-py | build_docs   View in Datadog   GitLab

DataDog/apm-reliability/dd-trace-py | core/telemetry 1/6   View in Datadog   GitLab

View all 6 failed jobs.

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: ab1114e | Docs | Datadog PR Page | Give us feedback!

Minimal copy-paste of OBJ-domain allocator hooks to MEM domain,
gated behind DD_PROFILING_MEMORY_MEM_DOMAIN_ENABLED=true and
Python >= 3.12. No allocator hook refactor — the same ctx-based
pattern used by the existing OBJ hooks is duplicated for MEM.
@vlad-scherbich vlad-scherbich force-pushed the vlad/memalloc-support-mem-domain-4.8-experiment branch from 2c0253a to ab1114e Compare June 11, 2026 22:53
@cit-pr-commenter-54b7da

Copy link
Copy Markdown

Codeowners resolved as

ddtrace/internal/settings/profiling.py                                  @DataDog/profiling-python
ddtrace/profiling/collector/_memalloc.cpp                               @DataDog/profiling-python
ddtrace/profiling/collector/_memalloc.pyi                               @DataDog/profiling-python
ddtrace/profiling/collector/_memalloc_heap.cpp                          @DataDog/profiling-python
ddtrace/profiling/collector/memalloc.py                                 @DataDog/profiling-python
docs/spelling_wordlist.txt                                              @DataDog/python-guild
releasenotes/notes/profiling-mem-domain-hooks-8130727f6c9c7a11.yaml     @DataDog/apm-python
tests/profiling/collector/test_memalloc.py                              @DataDog/profiling-python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant