vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Any idea why my java 1.5 would seem to run so terribly slow? I put together a small prog that counts to a million and shows the runtime in milliseconds. Running from the command line it's averaging about 1900 milliseconds. I still have java 1.3.1 installed on the same system. If i run the same program with java 1.3.1 it averages about 95 milliseconds. I can't believe that from 3 to 5 the performance gets that bad. Any suggestions on a mis-configuration that i might have? #/usr/java5/jre/bin/java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build pap32devifx-20060818a (ifix: 108655: SR2 + 105972 + 107350 + 108225 + 108262)) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223ifx-20060818 (JIT enabled) J9VM - 20060501_06428_bHdSMR JIT - 20060428_1800_r8 GC - 20060501_AA) JCL - 20060818a #/usr/java131/jre/bin/java -version java version "1.3.1" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1) Classic VM (build 1.3.1, J2RE 1.3.1 IBM AIX build ca131-20041210 (JIT enabled: jitc)) |
| ||||
| On Apr 3, 1:14 pm, chrisw...@gmail.com wrote: > Any idea why my java 1.5 would seem to run so terribly slow? I put > together a small prog that counts to a million and shows the runtime > in milliseconds. Running from the command line it's averaging about > 1900 milliseconds. I still have java 1.3.1 installed on the same > system. If i run the same program with java 1.3.1 it averages about 95 > milliseconds. I can't believe that from 3 to 5 the performance gets > that bad. Any suggestions on a mis-configuration that i might have? > > #/usr/java5/jre/bin/java -version > java version "1.5.0" > Java(TM) 2 Runtime Environment, Standard Edition (build > pap32devifx-20060818a (ifix: 108655: SR2 + 105972 + 107350 + 108225 + > 108262)) > IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 > j9vmap3223ifx-20060818 (JIT enabled) > J9VM - 20060501_06428_bHdSMR > JIT - 20060428_1800_r8 > GC - 20060501_AA) > JCL - 20060818a > > #/usr/java131/jre/bin/java -version > java version "1.3.1" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1) > Classic VM (build 1.3.1, J2RE 1.3.1 IBM AIX build ca131-20041210 (JIT > enabled: jitc)) Yesterday I heard a case where the app would use a Java Machine from a specific version and mix some libraries from a different version. I don't know how to check this issue though... :-( |