Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account for relocated objects in tracemalloc #126076

Open
pablogsal opened this issue Oct 28, 2024 · 0 comments
Open

Account for relocated objects in tracemalloc #126076

pablogsal opened this issue Oct 28, 2024 · 0 comments
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error

Comments

@pablogsal
Copy link
Member

pablogsal commented Oct 28, 2024

There are many places where we resize/reallocate memory for objects inline and we are not properly telling tracemalloc of their destruction, resulting in invalid object counting

Linked PRs

pablogsal added a commit to pablogsal/cpython that referenced this issue Oct 28, 2024
@picnixz picnixz added type-feature A feature request or enhancement interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error and removed type-feature A feature request or enhancement labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants