Over-zealous GC in functions returning non-primitives, leading to crashage
Reported by Tomasz Kaye | December 24th, 2009 @ 07:23 PM
(apparent) over-zealous GC in functions returning non-primitives, leading to crashage. A clear example was posted to the list by Robert Poor on April12 2009;\
fun Element allocateElement() {
if ((_pool.size() => int size) > 0) {
_pool[size-1] @=> Element @ element;
size-1 => _pool.size;
return element;
}
return new Element;
}
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Place to log chuck bugs, feature requests etc.