[1973] in java-interest

home help back first fref pref prev next nref lref last post

Re: Question on circular linked lists

daemon@ATHENA.MIT.EDU (Jonathan Payne)
Wed Sep 20 18:26:44 1995

Date: Wed, 20 Sep 1995 12:58:22 -0700
From: jpayne@starwave.com (Jonathan Payne)
To: sasebb@unx.sas.com
Cc: java-interest@java.sun.com
In-Reply-To: <199509201930.AA14219@zen.unx.sas.com> (message from Edmund Burnette on Wed, 20 Sep 1995 15:30:19 -0400 (EDT))

Java doesn't use a reference count garbage collector.  It would be
collected and re-used.

> From: Edmund Burnette <sasebb@unx.sas.com>
> Date: Wed, 20 Sep 1995 15:30:19 -0400 (EDT)
> X-Mailer: ELM [version 2.5 PL0a6]
> Mime-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Sender: owner-java-interest@java.sun.com
> Precedence: bulk
> X-Info: To unsubscribe, send 'unsubscribe' to java-interest-request@java.sun.com
> Content-Type: text/plain; charset=US-ASCII
> Content-Length: 683
> 
> Suppose that you have a circularly linked list. Wouldn't it be
> possible to orphan this memory and have a memory leak,
> since nulling the master pointer wouldn't decrement the use
> count to zero, and it would seem impractical for the system
> to check for loops in the reference chains.
> 
> -- 
> Edmund Burnette, Portable Debugging | (919)677-8000x7772, 677-8123(Fax)
> Development, SAS Institute Inc.     |       sasebb@unx.sas.com (W)
> SAS Campus Drive, Cary, NC 27513    |    ebb@mercury.interpath.net (H)
> ........He is Bob/Ready for Fun/He Wears a Smile/Everybody Run........
> -
> Note to Sun employees: this is an EXTERNAL mailing list!
> Info: send 'help' to java-interest-request@java.sun.com
> 
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post