• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Is it ideal to migrate from jdk1.5 to jdk 1.8

 
Ranch Hand
Posts: 238
1
Python Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For some time we have been thinking to migrate from jdk1.5 to jdk 1.8 for performance reasons
Would that be an ideal thing to do in your opinion?Have you dealt with this kind of scenario in your book?

Thanks
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which specific performance reasons do you have in mind? JDK 1.5 (and even 1.6) is EOLed long back, so it's ideal to move to Java 8 if that's an option. Or at the very least Java 7.
 
Marshal
Posts: 79179
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You should find your Java5 code works without any changes. You ought to have moved from Java5 years ago.
 
author
Posts: 84
5
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Meenakshi,

The book does not cover migration issues. However, I would recommend identifying those features in the newer versions of Java your application domain could benefit from, learn them, and find out the best way of applying them. While 1.5 is old, it is not as bad as one company I know which is still using Basic. And I don’t mean Visual Basic!
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't think we can get any performance benefit just by moving from java 5 to java 8. We will have to look at code if newer and better performant APIs are available.
 
Pradeep bhatt
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry I was wrong. There have been perfomance improvements in Hotspot JVM and newer garbage collection algorithms in java 7 and I beleive that they will also be available in java 8.

http://www.infoq.com/news/2010/01/java6u18/

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic