Article View: borland.public.jbuilder.java.language
Article #17231Re: Tuning a JBuider application... pointers
From: William Yu
Date: Sun, 06 Dec 1998 00:00
Date: Sun, 06 Dec 1998 00:00
25 lines
1904 bytes
1904 bytes
"Elias A. Fayyad" wrote:
> Greetings,
>
> Does anyone out there have pointers to books or information to
> tuning the performance of a Java (specifically JBuilder)
> application? We're experiencing some performance problems, and
> we've looked at the logical things (un-necessary object
> instantiations, etc.), but if anyone can point to some written
> resources, that would be much appreciated.
If you aren't using a JIT, I'd recommend it. I did some performance tests
when I was writing my object recycling routines. It turns out that JIT+no
recycling compared very similarly with no JIT+recycling. (JIT+recycling
was even fast with a more even performance curve.)
Second recommendation is to look at the data structures you use. If you
make extensive use of arrays and vectors, it might be better to analyze the
situation for the best structure. A few quick examples:
Hashtable = data lookup by keys but no need to do index scans
Trees = data lookup by keys and index scans
LinkedList = very few lookup capabilities needed (e.g. Stacks & Queues)
If nothing else works, brute force may be your answer. Look into more CPU
power, more memory or faster JVMs like Netware5.
Technical Details
Message-ID:
<366A55EB.E4095BAC@Bigfoot.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36656CD6.1AE11C33@concentric.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,f8a45fefa558915b X-Google-Attributes: gidf74b3,public X-Google-Thread: f5619,f8a45fefa558915b X-Google-Attributes: gidf5619,public From: William Yu <William_Yu@Bigfoot.com> Subject: Re: Tuning a JBuider application... pointers Date: 1998/12/06 Message-ID: <366A55EB.E4095BAC@Bigfoot.com> X-Deja-AN: 419191804 Content-Transfer-Encoding: 7bit References: <36656CD6.1AE11C33@concentric.net> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language,borland.public.jbuilder.jbcl