Article View: borland.public.jbuilder.java.language
Article #423Re: Performance problems with jdk 1.5 on Linux plattform
From: Jeroen Wenting
Date: Tue, 16 Aug 2005 11:41
Date: Tue, 16 Aug 2005 11:41
13 lines
1511 bytes
1511 bytes
>After refactoring using the new features from java 1.5 I lost >performance significantly: > compiler performance or runtime? The compiler needs to do more work so is probably a tad slower, runtime performance overall is improved. > >public Vector<unit> units; > do you NEED Vector? ArrayList does the same and is a LOT faster, and has been since 1.3. Possibly the code for Vector (which is kept mainly for backwards compatibility, I've never understood why they don't just deprecate the entire class) didn't receive the optimisation the rest did.
Technical Details
Message-ID:
<4301d0da$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!peer01.west.cox.net!cox.net!pd7cy1no!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43009d68$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,72d7453c0f169830 X-Google-Attributes: gidf74b3,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Jeroen Wenting" <jwenting@hotmail.com> Sender: "Jeroen Wenting" <jwenting@hotmail.com> Reply-To: "Jeroen Wenting" <jwenting@hotmail.com> Subject: Re: Performance problems with jdk 1.5 on Linux plattform Newsgroups: borland.public.jbuilder.java.language X-User-Info: 212.19.218.2 X-Forwarded-For: 192.168.1.144 References: <43009d68$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <4301d0da$1@newsgroups.borland.com> Date: 16 Aug 2005 04:41:14 -0700 X-Trace: newsgroups.borland.com 1124192474 207.105.83.66 (16 Aug 2005 04:41:14 -0700) Lines: 14 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!peer01.west.cox.net!cox.net!pd7cy1no!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail