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
Member

@lysnikolaou lysnikolaou commented Feb 25, 2026

: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
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

@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

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

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>
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