Article View: borland.public.jbuilder.java.language
Article #14731Re: Circular references and garbage collecting
From: Ben Starr
Date: Thu, 05 Aug 1999 00:00
Date: Thu, 05 Aug 1999 00:00
13 lines
1208 bytes
1208 bytes
According to the Java Language Specification: "A reachable object is any object that can be accessed in any potential continuing computation from any live thread." Once an object becomes unreachable is can be garbage collected. The above statement would indicate that the JVM is intelligent enough to know that a class isn't reachable *just* because there are no references to it. Ben Starr BenS@compurp.org.uk (Please note my e-mail address has been altered to avoid spammers, change compurp to commonpurpose if you wish to e-mail me)
Technical Details
Message-ID:
<933862389.15227.0.nnrp-03.c3add604@news.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01bedf4a$c23c2c90$d9c6a5c3@PPC23>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,3f24176e9efa3a85 X-Google-Attributes: gidf74b3,public From: "Ben Starr" <BenS@compurp.org.uk> Subject: Re: Circular references and garbage collecting Date: 1999/08/05 Message-ID: <933862389.15227.0.nnrp-03.c3add604@news.demon.co.uk> X-Deja-AN: 509190171 X-NNTP-Posting-Host: [195.173.214.4]:195.173.214.4 References: <01bedf4a$c23c2c90$d9c6a5c3@PPC23> X-Trace: news.demon.co.uk 933862389 nnrp-03:15227 NO-IDENT [195.173.214.4]:195.173.214.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: borland.public.jbuilder.java.language X-Complaints-To: abuse@demon.net