🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: garbage collector - performance problem

#582
From: Doychin Bondzhev
Date: Wed, 02 Mar 2005 16:11
37 lines
2340 bytes
try some other GC algorithm. THere is few of them in 1.4.1

Check in the 1.4 documentation for more details regarding different GC's 
available in Java 1.4.1 and above.

Doychin

Zoran Pjevic wrote:
> Hello
> 
> I not sure that my question is related to Swing, but is is my best
> guess.
> 
> We have an Swing based GUI which is on top of a C++ embedded
> application which feeds data into a hardware unit.
> 
> In stress testing conditions under very high data rates everything
> runs fine for up to 15 hours. But then occasionaly it happens that the
> hardware gets a datadrop.
> 
> When the same test is performed without the GUI, this is not noticed.
> 
> So I suppose that the garbage collector is doing incremental
> collecting for hours and hours and then when some limits are reached
> it peforms some major collecting, which slows down the GUI and with it
> the underlying C++ core.
> 
> If this is the case - is there any way to programmatically influence
> the schema of how the garbage collector works or at least to get a
> message from the garbage collector when it starts this major
> collecting? Or can I force it to to do its job in the background?
> 
> Or do you think I am completely wrong with my interpretation of the
> problem?
> 
> Thanks for any hints,
> Zoran
Technical Details
Message-ID: <4225e569$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <mdfb21hrbfafuvk3o6p7ormovgbj64cumo@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,d46e183f285a3126
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 02 Mar 2005 18:11:36 +0200
From: Doychin Bondzhev <doychin@dsoft-bg.com>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: garbage collector - performance problem
References: <mdfb21hrbfafuvk3o6p7ormovgbj64cumo@4ax.com>
In-Reply-To: <mdfb21hrbfafuvk3o6p7ormovgbj64cumo@4ax.com>
Content-Type: text/plain; charset=windows-1251; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 217.10.246.225
Message-ID: <4225e569$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1109779817 217.10.246.225 (2 Mar 2005 08:10:17 -0800)
Lines: 37
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail