Article View: borland.public.jbuilder.java.language
Article #17327Re: Garbage Collection ... Urgent..
From: Steve Schafer (TeamB)
Date: Mon, 30 Nov 1998 00:00
Date: Mon, 30 Nov 1998 00:00
32 lines
1786 bytes
1786 bytes
On Mon, 30 Nov 1998 18:44:08 +0900, Seiichi Tanaka <tanaka@spiral.mik.mss.co.jp> wrote: > Can anyone tell me how to remove the Garbage collection in JBuilder >2.? > > My problem is as follows : > > I have an application, which has two frames (Main Frame and >ChildFrame). > Through Main Frame, I can open and close the ChildFrame (as many >times as I like). > > While closing the childframe, I would like to delete all the >garbage collections related to that Frame. Can anyone tell me how to >do that.? > Because, when I open the frame for the first time, it is slow...It >takes time to load the images, and it initializes the global >variables...etc.. > > The same frame when opened for 2nd time or 3rd time... it is very >fast.. It loads the images very fast. Also the global variable does >not holds the initial values, when the frame comes up for the second >time. It's not clear what you are asking. Why do you think your problem has anything to do with garbage collection? In a Windows environment, creating a window for the first time, rendering a bitmap for the first time, etc., _always_ takes longer than just hiding the object and showing it again. -Steve
Technical Details
Message-ID:
<36cbbfab.547846374@90.0.0.40>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<366268E8.72DDAB2A@spiral.mik.mss.co.jp>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,6016f55752add430 X-Google-Attributes: gidf74b3,public From: pandeng@telepath.com (Steve Schafer (TeamB)) Subject: Re: Garbage Collection ... Urgent.. Date: 1998/11/30 Message-ID: <36cbbfab.547846374@90.0.0.40> X-Deja-AN: 417125461 Content-Transfer-Encoding: 7bit References: <366268E8.72DDAB2A@spiral.mik.mss.co.jp> Content-Type: text/plain; charset=us-ascii Organization: TeamB Mime-Version: 1.0 Reply-To: pandeng@telepath.com Newsgroups: borland.public.jbuilder.java.language