🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19845

Java Garbage Collection

#19845
From: jetball
Date: Tue, 09 Dec 1997 00:00
17 lines
878 bytes
Hi All

I'm just beginning to play around with Java and I have read and heard
about a few good things about the garbage collection stuffs.

My question is if I create two objects and have a circular reference to
them both. Will these two objects ever be destroyed by the garbage
collector?

Binh.

P.S. Some may argue about my bad programming practice with circular
reference, but I have to do this for a specific reason, So please don't
get upset with me for the circular reference thing.

Please Email me : jetball@usa.net
Technical Details
Message-ID: <348CF489.EC3AAD1@usa.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,7e35a16af36a1542,start
X-Google-Attributes: gidf74b3,public
From: jetball@usa.net
Subject: Java Garbage Collection
Date: 1997/12/09
Message-ID: <348CF489.EC3AAD1@usa.net>
X-Deja-AN: 296527403
Organization: None
Newsgroups: borland.public.jbuilder.java.language