This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Performance and the fly likes JRE 1.6.0_7 vs 1.6.0_18    Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "JRE 1.6.0_7 vs 1.6.0_18    " Watch "JRE 1.6.0_7 vs 1.6.0_18    " New topic
Author

JRE 1.6.0_7 vs 1.6.0_18

Orest Ivasiv
Greenhorn

Joined: Jan 11, 2010
Posts: 9
Hi all,
I've done benchmark and test my application on various JRE (see subject). The most interesting thing that I've discovered real huge performance degradation in JRE 1.6.0_18.
E.g. There was selected complex use case and test various JRE's 1.6. And the most interesting thing it that this use case takes only ~1 min on JRE 1.6.0_7 and more that ~2 min on JRE 1.6.0_18.

Small note about this legacy application: it's applet as presentation tier and back-end on Tomcat (doesn't matter the JRE on server side, because I've got only this performance degradation on client side and checked different JRE combination both client/sever sides).

This testing was performed on the next environment: 1) client PC; 2) tomcat server; 3) db server - Oracle - three physical machine. No changes except version of JRE on client machine. I guess there are some huge changes in Java plug-in.

Could you please explain such BIG difference in time execution?

Thank you in advance,
Orest
Kripal Singh
Ranch Hand

Joined: Jul 26, 2001
Posts: 254
try testing the app with different jre on 2 different client PC ( with fresh install ) . also make sure you are using same browser . probably nothing to do with your app but client OS, browser and jvm combination .


# Help an unprivileged kid.<br /> Whatever u do will make a difference...<br /> ...to a child's life & ur own #<br /><a href="http://www.cry.org/" target="_blank" rel="nofollow">www.cry.org/</a>
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Do you have any idea where the time goes in either version? i.e., what does the client do that takes one minute? Is it CPU limited, or I/O (network) limited? Have you done any profiling to find out? (Guessing doesn't count -- programmers are notoriously bad at guessing performance bottlenecks!)


[Jess in Action][AskingGoodQuestions]
Kripal Singh
Ranch Hand

Joined: Jul 26, 2001
Posts: 254
it might make sense to attach applet process to perfmon or java profiling tool to see what's going on . also open java console and see what's going on . check sun bug reports or google you issue
 
wood burning stoves
 
subject: JRE 1.6.0_7 vs 1.6.0_18