Skip to content

gh-142518: Improve mimalloc allocator docs#145224

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

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

Conversation

@lysnikolaou
Copy link
Copy Markdown
Member

@lysnikolaou lysnikolaou commented Feb 25, 2026

Comment thread Doc/c-api/memory.rst Outdated
Comment thread Doc/c-api/memory.rst Outdated
Comment thread Doc/c-api/memory.rst Outdated
Comment thread Doc/c-api/memory.rst Outdated
Comment thread Doc/using/cmdline.rst Outdated
Comment thread Doc/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 thread Doc/c-api/memory.rst
@lysnikolaou lysnikolaou added the needs backport to 3.14 bugs and security fixes label Mar 11, 2026
@lysnikolaou lysnikolaou merged commit 7a1da45 into python:main Mar 11, 2026
34 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Mar 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

bedevere-app Bot commented Mar 11, 2026

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

@bedevere-app bedevere-app Bot 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 free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news topic-free-threading

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants