Skip to content

gh-142518: Improve mimalloc allocator docs - #145224

Merged
lysnikolaou merged 4 commits into
python:mainfrom
lysnikolaou:allocator-docs
Mar 11, 2026
Merged

gh-142518: Improve mimalloc allocator docs#145224
lysnikolaou merged 4 commits into
python:mainfrom
lysnikolaou:allocator-docs

Conversation

@lysnikolaou

@lysnikolaoulysnikolaou commented Feb 25, 2026

Copy link
Copy Markdown
Member

Comment threadDoc/c-api/memory.rst Outdated
Comment threadDoc/c-api/memory.rst Outdated
Comment threadDoc/c-api/memory.rst Outdated
Comment threadDoc/c-api/memory.rst Outdated
Comment threadDoc/using/cmdline.rst Outdated
Comment threadDoc/using/cmdline.rst
:ref:`pymalloc memory allocator <pymalloc>` every time a new pymalloc object
arena is created, and on shutdown.
:ref:`pymalloc memory allocator <pymalloc>` or the
:ref:`mimalloc memory allocator <mimalloc>` (whichever is in use)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On mimalloc I think it gets printed only at exit, I am not sure that even pymalloc prints it after each arena allocation

Comment threadDoc/c-api/memory.rst
@lysnikolaoulysnikolaou added the needs backport to 3.14 bugs and security fixes label Mar 11, 2026
@lysnikolaou
lysnikolaou merged commit 7a1da45 into python:mainMar 11, 2026
34 checks passed
@github-project-automationgithub-project-automationBot moved this from Todo to Done in Docs PRsMar 11, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @lysnikolaou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 11, 2026
(cherry picked from commit 7a1da45)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
@bedevere-app

Copy link
Copy Markdown

GH-145823 is a backport of this pull request to the 3.14 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.14 bugs and security fixes label Mar 11, 2026
lysnikolaou added a commit that referenced this pull request Mar 11, 2026
(cherry picked from commit 7a1da45)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip newstopic-free-threading

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants

@lysnikolaou@ZeroIntensity@kumaraditya303