🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Java Garbage Collection

#19767
From: Grzegorz Sliwinski
Date: Wed, 10 Dec 1997 00:00
19 lines
1313 bytes
It's not because of the JDK 1.1.2, but because of my mistake. When I was
testing, I used a bit different code:
class Test1 is the same, but the code placed in main of Test2 was originally
in a button click handler in small test application. It seems that compiler
detects, that call to System.gc() is at the end of program execution and is
not neccessary (cause all memory will be freed by SO after java virtual
machine process exits).

Grzegorz Sliwinski (remove periods from my e-mail name)

jetball@usa.net wrote in message <348E057D.E1436C30@usa.net>...
>Hi Grzegorz,
>
>Thanks for replying. I have ran your code and I'm not getting the "finalize
>called" message at all.
>Is this because of the JDK 1.1.2 or is it something that I have done wrong?
>
>Binh. "jetball@usa.net"
Technical Details
Message-ID: <66mqol$1c43@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <348CF489.EC3AAD1@usa.net> <66kn7i$sr4@forums> <348E057D.E1436C30@usa.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,7e35a16af36a1542
X-Google-Attributes: gidf74b3,public
From: "Grzegorz Sliwinski" <g.r.z.e.s.s@fast.com.pl>
Subject: Re: Java Garbage Collection
Date: 1997/12/10
Message-ID: <66mqol$1c43@forums.borland.com>
X-Deja-AN: 296998559
References: <348CF489.EC3AAD1@usa.net> <66kn7i$sr4@forums> <348E057D.E1436C30@usa.net>
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: None
Newsgroups: borland.public.jbuilder.java.language