Detecting kernel memory leaks
Detecting kernel memory leaks
Posted Jun 29, 2009 0:10 UTC (Mon) by dlang (guest, #313)In reply to: Detecting kernel memory leaks by epa
Parent article: Detecting kernel memory leaks
if a garbage collector is looking at random bytes and trying to guess if they are pointers or not it's going to guess wrong a lot of the time.
I don't think it's even a requirement that pointers be word aligned in memory, so you would have to look at every 4 byte sequence and calculate if it could be a pointer or not.
that's a _lot_ of calculations to waste your time on, even if you had a chance of being right 100% of the time.
