Article View: borland.public.jbuilder.java.swing
Article #8330Re: Garbage Collection
From: Ali Demir
Date: Wed, 20 Sep 2000 00:00
Date: Wed, 20 Sep 2000 00:00
39 lines
1853 bytes
1853 bytes
OOOOOHHH NOOOOO :) well, if that's the way then gotto do it i guess.... thanks ali. "Greg Hamer" <ghamer@corp.netzero.net> wrote in message news:8q6b2h$a8m2@bornews.borland.com... > The only workaround that I have found for JDK 1.1 is to remove all the > listeners. This means never using anonymous inner classes for listeners so > you have a reference to the listener that you can use in the removeListener > call. > > "Ali Demir" <demir.4@osu.edu> wrote in message news:39c67bb5_1@dnews... > > The problem is I have to create a program that runs on JDK1.1 as well as > > 1.3, so I cannot rely on weak references at this time. > > Thank you. > > Ali. > > > > > > "Tor Iver Wilhelmsen" <tor.wilhelmsen@sds.no> wrote in message > > news:ubsxmgo42.fsf@sds.no... > > > John P. McGrath <JPMcGrath@fast.net> writes: > > > > > > > There are a few bugs where Swing holds onto object references, but are > > > > you sure that is what is happening? In most cases I have seen that > this > > > > occurs, it is possible to tell Swing to forget the reference. > > > > > > I believe 1.3.0 fixed most of these by using "weak" references > > > internally. (The java.lang.ref.* stuff.) > > > > > >
Technical Details
Message-ID:
<39c897fa_1@dnews>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39c3379b$1_1@dnews> <MPG.142e43f969d1f40e989b46@forums.borland.com> <ubsxmgo42.fsf@sds.no> <39c67bb5_1@dnews> <8q6b2h$a8m2@bornews.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,5de4a95f12c3475f X-Google-Attributes: gid111d45,public From: "Ali Demir" <ademir@informix.com> Subject: Re: Garbage Collection Date: 2000/09/20 Message-ID: <39c897fa_1@dnews> X-Deja-AN: 671990650 References: <39c3379b$1_1@dnews> <MPG.142e43f969d1f40e989b46@forums.borland.com> <ubsxmgo42.fsf@sds.no> <39c67bb5_1@dnews> <8q6b2h$a8m2@bornews.borland.com> X-Trace: 20 Sep 2000 03:56:58 -0800, 24.19.144.88 X-MSMail-Priority: Normal X-Priority: 3 Newsgroups: borland.public.jbuilder.java.swing X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700