debugging tip - valgrind friendly python
Marius Gedminas
marius at pov.lt
Wed Dec 2 18:11:25 GMT 2009
On Wed, Dec 02, 2009 at 07:27:00PM +0800, James Henstridge wrote:
> On Wed, Dec 2, 2009 at 1:36 PM, Alexander Belchenko <bialix at ukr.net> wrote:
> > Robert Collins пишет:
> >> https://edge.launchpad.net/~jamesh/+archive/python
> >>
> >> these packages have pymalloc disabled, so valgrind gets a more accurate
> >> picture of whats happening.
...
> The packages in my PPA include a patch that gets the interpreter to
> detect whether it is running under valgrind or not. If it is, then
> the pymalloc allocator is disabled, with PyObject_Malloc/PyObject_Free
> passing through to normal malloc/free, which valgrind knows how to
> track.
What's the runtime impact when running not under valgrind?
Any chances for getting that patch upstream?
Marius Gedminas
--
Computers are not intelligent. They only think they are.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20091202/d369c6bd/attachment.pgp
More information about the bazaar
mailing list