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
Automatically disable pymalloc when running under valgrind #46674
Comments
When I want to use valgrind to check for leaks in a Python program (or Attached is a patch that automatically bypasses the pymalloc code when It is controlled by a WITH_VALGRIND #define, but I haven't updated the |
A slightly cleaned up version of the previous patch. I only needed to |
Please provide a patch for Python 2.6 that includes a ./configure |
Here's a patch with James changes to obmalloc and a --with-valgrind |
Here's the updated version of my patch (the obmalloc.c bits applied The configure changes are a bit different to Lauro's ones, in that they |
An updated version of the patch. The previous ones were missing the |
There are probably a few other performance optimisations that would be A big one is the tuple cache: if there are tuple reference counting |
James Henstridge schrieb:
The tuple cache can't be disabled entirely. Some parts of Python and The tuple cache could be reduced to empty tuple and some other caches Christian |
Attached is an updated version of the patch against trunk (2.7). It |
Thank you. Applied in r76644. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: