Re: 'leaks' disappear after a few seconds
Re: 'leaks' disappear after a few seconds
- Subject: Re: 'leaks' disappear after a few seconds
- From: Jens Alfke <email@hidden>
- Date: Thu, 29 Aug 2013 17:06:44 -0700
On Aug 29, 2013, at 3:06 PM, Jerry Krinock < email@hidden> wrote: Thank you, Jens, but "conservative" can be ambiguous when the task is to detect something bad. I think you mean that "when in doubt, 'leaks' does *not* report the leak". Correct?
You’re right, the terminology is confusing. The algorithm is really a conservative garbage collector*, which only frees blocks that it’s 100% sure are unreachable, otherwise it leaves them alone. The difference is that the leaks tool reports the block instead of freeing it. So it ends up skipping a block if it’s unsure it’s not reachable.
Interesting. I thought it used magic.
Older tools like this did use magic, but had problems like requiring arcane ingredients, not working right during the full moon, and occasionally even summoning malign daemons.
—Jens
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden