On 2016-11-19 2:46 PM, Kevin Modzelewski wrote: > Hi Yury, you may be interested in some leak-finding code that wrote for > Pyston. It uses the GC infrastructure to show you objects that were > directly leaked, ignoring indirect leaks -- ie objects that were only > leaked because they were referenced by a leaked object. It can often give > you a very small list of objects to look into (depending on how many non-gc > objects were leaked). If you're interested I can try porting it to CPython. > > https://github.com/dropbox/pyston/blob/master/from_cpython/Modules/gcmodule.c#L894 Hi Kevin, Nice work! Anything to help to find refleaks is welcome, it's really a painful process sometimes. As for porting it to CPython - I don't see why not. We can add this new API to debug builds only, at least in the beginning. Thank you! Yury
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4