🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #8401

Re: Garbage Collection

#8401
From: Greg Hamer
Date: Mon, 18 Sep 2000 00:00
25 lines
1590 bytes
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: <8q6b2h$a8m2@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39c3379b$1_1@dnews> <MPG.142e43f969d1f40e989b46@forums.borland.com> <ubsxmgo42.fsf@sds.no> <39c67bb5_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,5de4a95f12c3475f
X-Google-Attributes: gid111d45,public
From: "Greg Hamer" <ghamer@corp.netzero.net>
Subject: Re: Garbage Collection
Date: 2000/09/18
Message-ID: <8q6b2h$a8m2@bornews.borland.com>
X-Deja-AN: 671419627
References: <39c3379b$1_1@dnews> <MPG.142e43f969d1f40e989b46@forums.borland.com> <ubsxmgo42.fsf@sds.no> <39c67bb5_1@dnews>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing