Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Over-zealous GC in functions returning non-primitives, leading to crashage

#14

(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;
      }

Reported by Tomasz Kaye · December 24th, 2009 @ 07:23 PM

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

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.