Re: Implementing NodeList

On Mon, 27 Jul 1998 keshlam@us.ibm.com wrote:

> the NodeList (required to ensure that the NodeList responds when the tree
> is changed) will also ensure that the latter is never garbage-collected
> until the tree itself goes away. So even if the above can be made to run
> quickly, it's a memory leak begging for an opportunity.

	Well, Java 1.2 gives you what you need in that regard :-)  Too bad
you can't really use 1.2 yet :-(

http://java.sun.com/products/jdk/1.2/docs/guide/refobs/index.html


---
Chris Hubick
mailto:chris@hubick.com
http://www.hubick.com/

Received on Monday, 27 July 1998 16:54:58 UTC